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

前端 未结 8 1926
执笔经年
执笔经年 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:54

    Try to set web project's server propery as Local IIS if it is IIS Express. Be sure if project url is right and create virual directory.

    0 讨论(0)
  • 2020-11-22 12:55

    When dealing with Uniform Resource Locator(URL) s there are certain syntax standards, in this particular situation we are dealing with Reserved Characters.

    As up to RFC 3986, Reserved Characters may (or may not) be defined as delimiters by the generic syntax, by each scheme-specific syntax, or by the implementation-specific syntax of a URI's dereferencing algorithm; And asterisk(*) is a Reserved Character.

    The best practice is to use Unreserved Characters in URLs or you can try encoding it.

    Keep digging :

    • HTML URL Encoding Reference (w3schools)
    • When to Encode or Decode (RFC 3986)
    0 讨论(0)
提交回复
热议问题