阅读背景:

ASP.NET - Trailing Slash和Tilde

来源:互联网 

I've found what seems like a bizarre problem with IIS 6.0 and .NET 3.5. I always use the tilde for all URLs (eg: ~/mypage.aspx) so if I go to mydomain.com/mypage.aspx, everything works fine. If, however, I add a trailing slash and go to mydomain.com/mypage.aspx/, all links on the page which use the tilde get rendered as mydomain.com/mypage.aspx/otherpage.aspx instead of mydomain.com/otherpage.aspx.I've found what seems like a bizarre problem wi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: