-
Bug
-
Resolution: Done
-
Major
-
1.3.20.Final, 1.3.21.Final, 1.3.22.Final, 1.3.23.Final
-
None
In our project restheart we used to build ResourceHandler using the io.undertow.Handlers.resource(ResourceManager rm)
in order to serve static resource, we use the FileResourceManager.
ResourceHandler handler = resource(new FileResourceManager(file, 3))
we noticed that starting from version 1.3.20, if the file path contains .., the handler does not work anymore (returns 404)
File file = new File("/root/sub/../index.html"); // does not work File file = new File("/root/index.html"); // works
- blocks
-
JBEAP-5287 (7.1.0) ResourceHandler not working anymore if path contains .. (UNDERTOW-742)
- Closed
-
JBEAP-5117 (7.0.z) ResourceHandler not working anymore if path contains .. (UNDERTOW-742)
- Closed