Permalink
Browse files

Merge pull request #533 from NuGet/MaxQueryLength

Raise the value of maxQueryLength property.
  • Loading branch information...
2 parents ca09e71 + 8e03198 commit 0e788f03b1108536459c1aabccb42e04f4f9468d @half-ogre half-ogre committed Jun 21, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 Website/Web.config
View
@@ -80,7 +80,7 @@
<add namespace="System.Web.WebPages" />
</namespaces>
</pages>
- <httpRuntime maxRequestLength="2000000000" requestPathInvalidCharacters="&lt;,&gt;,*,%,:,\,?" />
+ <httpRuntime maxQueryStringLength="4000" maxRequestLength="2000000000" requestPathInvalidCharacters="&lt;,&gt;,*,%,:,\,?" />
<httpModules>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
@@ -106,6 +106,11 @@
<remove statusCode="500" subStatusCode="-1" />
<error statusCode="500" path="/Errors/Error.html" responseMode="ExecuteURL" />
</httpErrors>
+ <security>
+ <requestFiltering>
+ <requestLimits maxQueryString="4000" />
+ </requestFiltering>
+ </security>
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
<dynamicTypes>

0 comments on commit 0e788f0

Please sign in to comment.