Erlang functions/library to sanitize web input?
I like to prevent XSS on my project, i just use Erlang and nginx. Are there some libraries for this?
Is there an alternative i didn't 开发者_如何学编程see?
Take a look the escape function in mochiweb_html, you could use this as a starting point.
I'm not aware of any erlang library intended for this specifically and this is something that tends to be implemented half way/wrong by most libraries (including Mochiweb.)
精彩评论