Member Avatar for iamthwee
iamthwee

codeigniter problems with xss security.

I was reading this article what is the best practice?
http://ponderwell.net/2010/08/codeigniter-xss-protection-is-good-but-not-enough-by-itself/
Should I use htmlentities instead?
However, it seems long winded because it doesn't convert £ signs effectively unless you set the character encoding to UTF-8

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.