2015-10-20 27 views
-2

我使用asp.net和使用url rewriting去除網址字符「有潛在危險的Request的值」

我收到此錯誤

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

基本上我想造成這個的所有字符錯誤被刪除。

例如,在url中發現字符&時產生上述錯誤。

所以可以有任意數量的字符(包括外文字符)。

任何幫助將不勝感激

+1

可能複製http://stackoverflow.com/questions/6025522/getting-a-potentially-dangerous-request-path-value-was-detected-from-the-client – 2015-10-20 06:01:48

+0

或http的: //stackoverflow.com/questions/14475913/url-routing-image-handler-a-potentially-dangerous-request-path-value – 2015-10-20 06:02:14

+0

或http://stackoverflow.com/questions/5967103/a-potentially-dangerous-request -path-value-was-detected-from-the-client – 2015-10-20 06:02:28

回答