请求筛选模块被配置为拒绝包含的查询字符串过长的请求

在Web.config添加以下配置

<configuration>
  <system.web>
    <httpRuntime maxQueryStringLength="2097151" />
  </system.web>
  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxQueryString="2097151"/>
      </requestFiltering>
    </security>
  </system.webServer>
</configuration>

看看我

posted @ 2021-04-15 09:27  vvull  阅读(158)  评论(0编辑  收藏  举报