我们注意到有几台机器存在带有哈希参数的URL问题.
使用URL调试请求时:
http://domain.com/Entity(%23{number-here}
我们在文件中的Application_BeginRequest方法中看到global.asax了URL:
http://domain.com/Entity(#23{number-here}in Url.OriginalString和Url.LocalPathhas http://domain.com/Entity(和hash之后的所有字符Url.Fragment.
在运行Windows 8.1和IIS 8.5的计算机上运行完全相同的应用程序时,它按预期工作,Url.OrinalString即http://domain.com/Entity(%23{number-here}.
我web.config在IIS配置中的URL重写部分中看不到任何可疑的内容.
这种行为的原因是什么?