esolve
V2EX  ›  问与答

SpringMVC: 有何好的应对 XSS 攻击的处理方案?

  •  
  •   esolve · Dec 4, 2017 · 2092 views
    This topic created in 3276 days ago, the information mentioned may be changed or developed.

    我用 springmvc 的过滤器进行字符替换

    这样的话,如果是带 json 的 post 请求就会出问题

    有啥好一点的 XSS 应对方案?

    esolve
    esolve
    OP
    Dec 4, 2017
    1
    顶顶顶
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4476 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 07:56 · PVG 15:56 · LAX 23:56 · JFK 02:56
    ♥ Do have faith in what you're doing.