Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Allow slashes in enhanced routes having aspects definitions
The changes made in #86895 broke previous behaviour in page routing by disallowing the use of the "requirements" option for a route when aspects are present - "aspects now take precedence over requirements". While the reasoning behind this change is valid, the requirements in the Symfony Routing package would now always default to '[^/]++' (every character except "/") for routes that use aspects. Before, it was possible to manually set the requirements to '.+' to allow slashes in an argument value. Instead of purging requirements for variable names having an aspect definition as well, thoese requirements are set to `.+` to relax the default Symfony constraints on default delimiter `/` in this case. Resolves: #90531 Resolves: #88291 Resolves: #87333 Related: #86895 Releases: master, 9.5 Change-Id: I27076aa0425d050e729db84d8e3461a329321342 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63655 Reviewed-by: Oliver Hader <oliver.hader@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org>
- Loading branch information
1 parent
306ddc7
commit e98ba4a
Showing
3 changed files
with
99 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters