Although officially there are no restrictions, many security recommendations indicate that maxQueryStrings should have a maximum limit of 1024 characters on the server, and that the entire URL, including the query string, should be no more than 2048 characters. This is done in order to prevent the Slow HTTP Request vulnerability on the web server and to prevent the slow DDOS attacks that are detected on the Qualys web application scanner and other security scanners.
Please see the code below for Windows IIS servers with Web.config:
<security> <requestFiltering> <requestLimits maxQueryString="1024" maxUrl="2048"> <headerLimits> <add header="Content-type" sizeLimit="100" /> </headerLimits> </requestLimits> </requestFiltering> </security>
matwonk Jun 10 '19 at 13:46 on 2019-06-10 13:46
source share