A potentially dangerous Request.Path value was detected from the client (*)

前端 未结 8 2089
执笔经年
执笔经年 2020-11-22 12:18

I am receiving the rather self explanatory error:

A potentially dangerous Request.Path value was detected from the client (*).

T

8条回答
  •  傲寒
    傲寒 (楼主)
    2020-11-22 12:33

    If you're using .NET 4.0 you should be able to allow these urls via the web.config

    
        
    
    

    Note, I've just removed the asterisk (*), the original default string is:

    
    

    See this question for more details.

提交回复
热议问题