-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
8.2.0.Final
-
None
All of the following requests will return the jsp file content untransformed, meaning that the actual content of the jsp-file is returned to the browser.
http://localhost:8080/application/HostPage.jsp%2E http://localhost:8080/application/HostPage.jsp%2E%2E http://localhost:8080/application/HostPage.jsp%20%2E http://localhost:8080/application/HostPage.jsp%20%2E%2E
The problem with periods has perhaps to do with windows removing/accepting trailing periods in file names: here, and here because io.undertow.server.handlers.resource.FileResourceManager.getResource() delegates to java.io.File to test whether a file path is valid or not, and java.io.File does presumably delegate to Windows.
- is related to
-
WFLY-4595 JSP source code leak when a slash added at the end of the URL
- Closed