开发者

Issues with requestValidationMode="2.0" and validateRequest="false"

I've been looking at this issue for quite a while now.

Basicly what the issue is that IIS 7.5 and IIS Express both ignore the following two lines: I've googled and searched here on stackoverflow and most just suggest adding tho开发者_C百科se two lines, but it does not matter what I do(reboot server, create a new app pool) it does not work.

Anyone got any ideas to why this happens?


you also need to add ValidateInput(false) to your action if you are dealing with MVC.

or add deriective on the page if you are working on web forms

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜