413684 - Trailing slash shows JSP source
+ Adding testcase to replicate issue.
This commit is contained in:
parent
af02334ff7
commit
ab7268e516
|
@ -67,6 +67,7 @@ public class JspAndDefaultWithAliasesTest
|
|||
|
||||
// @formatter:off
|
||||
data.add(new String[] { "false","/dump.jsp" });
|
||||
data.add(new String[] { "false","/dump.jsp/" });
|
||||
data.add(new String[] { "true", "/dump.jsp%00" });
|
||||
data.add(new String[] { "false","/dump.jsp%00/" });
|
||||
data.add(new String[] { "false","/dump.jsp%00x/dump.jsp" });
|
||||
|
|
|
@ -68,6 +68,7 @@ public class JspAndDefaultWithoutAliasesTest
|
|||
|
||||
// @formatter:off
|
||||
data.add(new Object[] { "/dump.jsp" });
|
||||
data.add(new Object[] { "/dump.jsp/" });
|
||||
data.add(new Object[] { "/dump.jsp%00" });
|
||||
data.add(new Object[] { "/dump.jsp%00x" });
|
||||
data.add(new Object[] { "/dump.jsp%00x/dump.jsp" });
|
||||
|
|
Loading…
Reference in New Issue