The length of the query string for this request exceeds the configured maxQueryStringLength value


如果你的webserver收到这个信息:

 

1.你是否真的需要这么长的url

 

2.如果需要,你可能需要配置以下内容搞定

 

<httpRuntime enableVersionHeader="false" maxUrlLength="20480" maxQueryStringLength="20480" requestPathInvalidCharacters="" /><!--给个合适的值-->
<system.webServer>
    <security>
      <requestFiltering allowDoubleEscaping="true">
        <requestLimits maxQueryString="20480"> <!--给个合适的值--></requestLimits>
      </requestFiltering>
    </security>
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM