List of usage examples for org.springframework.security.web.firewall StrictHttpFirewall setAllowUrlEncodedSlash
public void setAllowUrlEncodedSlash(boolean allowUrlEncodedSlash)
Determines if a slash "/" that is URL encoded "%2F" should be allowed in the path or not.
From source file:org.devgateway.toolkit.web.spring.WebSecurityConfig.java
@Bean public HttpFirewall allowUrlEncodedSlashHttpFirewall() { StrictHttpFirewall firewall = new StrictHttpFirewall(); firewall.setAllowUrlEncodedSlash(true); firewall.setAllowSemicolon(true);// w w w.j a va2 s .c o m return firewall; }