有没有办法增加IIS 7.0处理的URL长度?

时间:2013-10-02 22:10:40

标签: asp.net iis-7

我有一个url被请求,即10个长度为2500个字符(它在f12工具上显示为完整的url,没有被截断)但在我的aspx页面中,进入的查询字符串被截断。我已经尝试将这些添加到web.config

  <httpRuntime maxRequestLength="2147483647" />

<system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="2147483647" maxUrl="2147483647" maxQueryString="2147483647" />
      </requestFiltering>
    </security>
  </system.webServer>

IIS 7上是否还有其他设置限制了网址的长度?有没有办法看到进入IIS的所有请求,以便我知道进入的内容是不是被截断了? (我尝试过wireshark,没有简单的方法可以从中获取网址。流量是https)

0 个答案:

没有答案