[
https://issues.apache.org/jira/browse/SLING-13365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Hoh updated SLING-13365:
------------------------------
Description:
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.
so stopping the silent dropping of parameters if there are more than 10k.
was:
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.
> 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 3.0.2, Engine 2.16.8
> Reporter: Joerg Hoh
> Priority: Major
>
> 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.
> so stopping the silent dropping of parameters if there are more than 10k.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)