HTML编码的用户输入
摘要:
public string Browse(string genre) { returen HttpUtility.HtmlEncode(genre); } HttpUtility.HtmlEncode能阻止JavaScript代码 阅读全文
posted @ 2014-04-16 14:19 YingShan 阅读(117) 评论(0) 推荐(0)
posted @ 2014-04-16 14:19 YingShan 阅读(117) 评论(0) 推荐(0)
posted @ 2014-04-13 15:05 YingShan 阅读(414) 评论(0) 推荐(0)