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