Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One would hope UTF-7 was also a joke, alas it is not. I had to implement support for it once. http://en.wikipedia.org/wiki/UTF-7


The worst thing about UTF-7 is that it has multiple valid representations of the same string.

I'm convinced that the primary use of UTF-7 is hiding malicious input as different characters [1], as a possible exploit against systems that support UTF-7 for no reason.

[1] http://nedbatchelder.com/blog/200704/xss_with_utf7.html


This is correct, and is why (afaik) most modern browsers no longer support it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: