Skip to content

Commit

Permalink
Merged in SHIBUI-1863 (pull request #479)
Browse files Browse the repository at this point in the history
SHIBUI-1863
  • Loading branch information
chasegawa authored and Jonathan Johnson committed May 19, 2021
2 parents a45e8b4 + 775c0b5 commit b9052e4
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,14 @@ public class WebSecurityConfig {
@Autowired
private RoleRepository roleRepository;

@Bean
public HttpFirewall allowUrlEncodedSlashHttpFirewall() {
private HttpFirewall allowUrlEncodedSlashHttpFirewall() {
StrictHttpFirewall firewall = new StrictHttpFirewall();
firewall.setAllowUrlEncodedSlash(true);
firewall.setAllowUrlEncodedDoubleSlash(true);
return firewall;
}

@Bean
public HttpFirewall defaultFirewall() {
private HttpFirewall defaultFirewall() {
return new DefaultHttpFirewall();
}

Expand Down

0 comments on commit b9052e4

Please sign in to comment.