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

后端 未结 3 909
一个人的身影
一个人的身影 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:42

    Probably because that looks a lot like a malformed url.

    & is used as a separator for the query string parameters i.e. site.com/page?some=20&another=15

提交回复
热议问题