aswinad opened a new pull request, #74:
URL: https://github.com/apache/sling-org-apache-sling-engine/pull/74

   SLING-13138
   Improve request parameter limit handling in ParameterMap.
   
   This change updates the parameter limit check from `size() == maxParameters`
   to `size() >= maxParameters` for more defensive boundary handling.
   
   It also introduces an optional configuration to control behavior when the
   configured parameter limit is exceeded:
   
   - default: log a warning and ignore additional parameters
   - fail-fast mode: throw IllegalStateException immediately
   
   The default behavior remains unchanged for backward compatibility.
   
   Unit tests are included for both modes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to