ASP.NET 4 URL limitations: why URL cannot contain any ? characters

后端 未结 3 915
一个人的身影
一个人的身影 2020-12-05 06:10
http://site.com/page%3fcharacter

This URL will return the following error:

Illegal characters in path.

I\'m alrea

3条回答
  •  余生分开走
    2020-12-05 06:37

    Here's a nice article by Hanselman explaining all the nooks and crannies related to your issue:

    Experiments in Wackiness: Allowing percents, angle-brackets, and other naughty things in the ASP.NET/IIS Request URL

提交回复
热议问题