Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Engine 2.7.4
-
None
Description
SLING-9741 and the associated PR introduced a regression where the Sling Engine will return a 400 error on requests based on the presence of ".." in the URL when not preceded by a slash.
This is an issue as file names may contain multiple periods and it is not obvious that it would cause an issue to upload a file with two periods in the name.
Reproduction steps:
- Update a Sling instance to use Engine 2.7.4
- Upload a file containing .. in the path
- Attempt to get the file or any path with the file as a suffix
- Note this returns a 400 error
Attachments
Issue Links
- is caused by
-
SLING-9741 Invalid path decomposition in case of multiple dots
- Closed
- is related to
-
SLING-10554 The check for valid requests should not fail on a resolution path that is null
- Closed