开发者

Erlang functions/library to sanitize web input?

开发者 https://www.devze.com 2023-03-11 07:57 出处:网络
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

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.)

0

精彩评论

暂无评论...
验证码 换一张
取 消