You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/src/main/java/org/apache/shiro/web/filter/InvalidRequestFilter.java
+50-1Lines changed: 50 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@
37
37
* <li>Semicolon - can be disabled by setting {@code blockSemicolon = false}</li>
38
38
* <li>Backslash - can be disabled by setting {@code blockBackslash = false}</li>
39
39
* <li>Non-ASCII characters - can be disabled by setting {@code blockNonAscii = false}, the ability to disable this check will be removed in future version.</li>
40
+
* <li>Path traversals - can be disabled by setting {@code blockTraversal = false}</li>
40
41
* </ul>
41
42
*
42
43
* @see <a href="https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/web/firewall/StrictHttpFirewall.html">This class was inspired by Spring Security StrictHttpFirewall</a>
@@ -48,12 +49,18 @@ public class InvalidRequestFilter extends AccessControlFilter {
0 commit comments