Thanks, the other characters make sense to me after reading more about xss. I will test the new behavior and see if I run into any other issues.
Note that i had attributes and elements backwards... inserting to attributes is more dangerous than elements as it requires more escapes.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
Le 31/10/2012 16:21, Justin Donaldson a écrit :Note : I have added both " <-> " and ' <-> ' support, I didn't add slash / support (not sure why it needs to be escaped BTW)
Thanks, the other characters make sense to me after reading more about
xss. I will test the new behavior and see if I run into any other issues.
Best,
Nicolas
Note : I have added both " <-> " and ' <-> ' support, I didn't add slash / support (not sure why it needs to be escaped BTW)
/ --> / forward slash is included as it helps end an HTML entity
Here's a few more gotchas, and a link to a relevant Google method
https://medium.com/joys-of-javascript/42a28471221d