Issue Bug Closed

#103938Properly redirect backend routes

Daniel Siepmann 05/28/24, 05:32 updated 10/15/24, 09:30

Description

Users might share URLs from the backend, e.g. https://example.com/typo3/module/site/configuration/edit?site=example_site
Those URLs end up in the initial start module instead of actually being opened.
This also affects custom modules by users, not only TYPO3 core modules.

The redirect only works for some routes with special hard coded handling.

The issue seems to be within TYPO3\CMS\Backend\Controller\BackendController->getStartupModule() where the name from redirect is used as a module instead of the actual module.
The redirect transports the route identifier, not the module identifier. Therefore the route identifier needs to be resolved to the module for proper check.

Steps to reproduce:
  1. Create a site
  2. Navigate to site module
  3. Edit the given site
  4. Copy the URL and open it within a new tab

Expected: The edit form of the site is shown
Actual: The dashboard (first module) is shown

Reviews 2

History 37

  1. Daniel Siepmann changed description 05/28/24, 05:33

  2. Gerrit Code Review pushed patch set 1 for main to change 84432 status New Under Review 05/28/24, 05:37

  3. Gerrit Code Review pushed patch set 2 for main to change 84432 08/27/24, 07:32

  4. Gerrit Code Review pushed patch set 3 for main to change 84432 08/29/24, 07:00

  5. Gerrit Code Review pushed patch set 1 for 12.4 to change 85829 08/30/24, 08:27

  6. Daniel Siepmann commented and changed status Under Review Resolved done 0 % 100 % 08/30/24, 08:55

    Applied in changeset commit:c2d7bdfff85f0d87120415c6ff4f53fbbe04270a.

  7. Benni Mack changed status Resolved Closed 10/15/24, 09:30