Is there a definitive anti-XSS library for PHP?

后端 未结 7 2163
长发绾君心
长发绾君心 2020-12-14 08:14

I already know how XSS works, but finding out all the many different ways to inject malicious input is not an option.

I saw a couple libraries out there, but most of

相关标签:
7条回答
  • 2020-12-14 08:56

    I'm surprised it's not been mentioned here, but I prefer htmlAwed to htmlPurifier. It's up-to-date, nicely licensed, very small and really fast.

    0 讨论(0)
提交回复
热议问题