Closed SoonDead closed 10 years ago
htmlentities() encodes everything htmlspecialchars() does, but more.
htmlentities()
htmlspecialchars()
The double encode would make all signs that are special html chars > < " & unreadable, but does not provide anything securitywise.
>
<
"
&
I really should write up smoke tests for this thing.
htmlentities()
encodes everythinghtmlspecialchars()
does, but more.The double encode would make all signs that are special html chars
>
<
"
&
unreadable, but does not provide anything securitywise.