Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,15 @@ default String getParameter(String name) {
}
}

/** See {@code jakarta.servlet.ServletRequest.getParameterValues(String)} */
/**
* See {@code jakarta.servlet.ServletRequest.getParameterValues(String)}.
*
* <p>For safety, the default implementation applies two fixed limits: {@code maxQueryStringLength
* = 64 * 1024} (65,536 characters) and {@code maxQueryParameterCount = 1024} ({@code &}-separated
* parameter pairs). These implementation values are not exposed as runtime configuration.
* Requests that exceed either limit or contain invalid percent-encoding are rejected by the
* scrape handler with HTTP {@code 400 Bad Request}.
*/
@Override
@Nullable
// decode with Charset is only available in Java 10+, but we want to support Java 8
Expand Down