开发者

<script type="text/javascript">alert('Xss done');</script>

How do you resolve this Xss from Stackoverflo开发者_如何学Pythonw?


The output is html encoded.

All html entities are replaced with their escaped characters, for example "<" is replaced by &lt;.

More info on wikipedia along with a list of html characters, http://en.wikipedia.org/wiki/Character_encodings_in_HTML


Jeff actually posted his Sanitizer on RefactorMyCode.com

You can see it here. It may not be the final version they're currently using, but it will show you the basics of how it works.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜