相关疑难解决方法(0)

什么解码我编码的哈希符号(%23)?

我们注意到有几台机器存在带有哈希参数的URL问题.

使用URL调试请求时:
http://domain.com/Entity(%23{number-here}

我们在文件中的Application_BeginRequest方法中看到global.asax了URL: http://domain.com/Entity(#23{number-here}in Url.OriginalStringUrl.LocalPathhas http://domain.com/Entity(和hash之后的所有字符Url.Fragment.

在运行Windows 8.1和IIS 8.5的计算机上运行完全相同的应用程序时,它按预期工作,Url.OrinalStringhttp://domain.com/Entity(%23{number-here}.

web.config在IIS配置中的URL重写部分中看不到任何可疑的内容.

这种行为的原因是什么?

c# asp.net iis hash character-encoding

5
推荐指数
1
解决办法
1494
查看次数

标签 统计

asp.net ×1

c# ×1

character-encoding ×1

hash ×1

iis ×1