开发者

GetSafeHtmlFragment adds a div tag after an input - Why?

开发者 https://www.devze.com 2023-03-08 12:39 出处:网络
Microsoft.Security.Application.Santizier.GetSafeHtmlFragment(\"<input type=\"\"text\"\" />\") returns
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

精彩评论

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