Task #82669

Updated by Oliver Hader over 2 years ago

There are inconsistencies in working with route path names depending on how these routes have been provided:

* path @/file/editcontent@ (_no trailing slash_) is the result of a direct route configuration in typo3_src/typo3/sysext/backend/Configuration/Backend/Routes.php
* path @/web/WorkspacesWorkspaces/@ (_with trailing slash_) is the result of a backend module configuration which builds the path name internally
** see \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule
** see \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule
** find @$path = '/' . trim($path, '/') . '/';@ - thus always containing a slash in the end

To have a proper schema of using routes, either the slash should be stripped from the end or added in all cases.

Back