spring-security - Spring-Security:StrictHttpFirewall 不允许如果 url 包含?(例如有查询参数)
问题描述
我在使用 StrictHttpFirewall 时遇到问题,因为它不允许使用 ?
though we have defined all the default set parameters as true:
StrictHttpFirewall firewall = new StrictHttpFirewall();
firewall.setAllowUrlEncodedSlash(true);
firewall.setAllowBackSlash(true);
firewall.setAllowUrlEncodedPercent(true);
firewall.setAllowUrlEncodedPeriod(true);
firewall.setAllowSemicolon(true);
Please help if faced and resolved same issue in passed.
Thanks,
解决方案
推荐阅读
- css - 使用 semanti-ui-react 仅在一个网格列中滚动
- code-coverage - 了解 Eclemma 结果
- linux - 在 BASH 中创建更简洁的菜单,而不是简单地向上滚动屏幕
- c# - 扫描和更改像素 c#
- mongodb - 'mongod' 未被识别为内部或外部命令
- android - 请问如何将字符串变量传递给getStringArray
- f# - 在哪里保存 .fsi 脚本的 nuget 包?(F#)
- python - 如何有效地合并和获取不匹配条目的计数?
- php - POST Empty 无论请求如何
- velocity - 无法转换为对象 - AppSync 速度模板