开发者

GetSafeHtmlFragment adds a div tag after an input - Why?

Microsoft.Security.Application.Santizier.GetSafeHtmlFragment("<input type=""text"" />")

returns

<input type="text" /> <开发者_如何学C;div></div>

I assume this is some sort of security feature - why does it do this?


This is reported as a bug here: http://wpl.codeplex.com/workitem/15926

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜