-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Kromeriz 144, Kromeriz 145, Kromeriz 146, Kromeriz 147
-
13
Assume we have a URL like /path/to/my/cool-page-1.12.html.
When requested normally, the URL resolves properly.
However, if we instead request /path/to/my/cool-page-1.12~foo=bar~.html, the URL does not resolve properly.
This is due to the RepositoryMappingFilter and its handling of selectors. The filter strips out selectors and everything after the filter (including the file extension). It then passes the path (minus selector and extension) to a URI2RepositoryMapping. That mapping treats the .12 as a file extension, and incorrectly strips it out.
EDIT: New PR here - https://git.magnolia-cms.com/projects/PLATFORM/repos/main/pull-requests/598/overview
Acceptance criteria