Joerg Hoh created SLING-13365:
---------------------------------

             Summary: when the too many parameters are provided,fail the request
                 Key: SLING-13365
                 URL: https://issues.apache.org/jira/browse/SLING-13365
             Project: Sling
          Issue Type: Task
          Components: Engine
    Affects Versions: Engine 2.16.8, Engine 3.0.2
            Reporter: Joerg Hoh


This builds on top of SLING-13138 and changes it in the following way:
* enables {{sling.default.parameter.fail.on.limit}} by default, so the maximum 
number of parameter of 10'000 (default) is enforced.
* instead of throwing a 500 (triggered by the unhandled IllegalStateException) 
it throws an {{ParameterParseException}} which is then returned with a 
statuscode 400.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to