Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-73285] Set maximum parameter count to 10,000 to match the documentation #395

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

basil
Copy link
Member

@basil basil commented Jun 26, 2024

The documentation states that the Winstone default is 10,000 (unlike the Jetty default of 1,000), but this statement is false, as Winstone only sets the value if the user specifies the option, and otherwise uses the Jetty default. Since Stapler forms are complex and often need thousands of parameters, this PR adjusts Winstone to match its own documentation and use a limit of 10,000.

Testing done

Fixes jetty/jetty.project#11959

@basil basil added the bug label Jun 26, 2024
@basil basil requested review from MarkEWaite and alecharp June 26, 2024 00:01
@basil basil changed the title Set maximum parameter count to 10,000 to match the documentation [JENKINS-73285] Set maximum parameter count to 10,000 to match the documentation Jun 26, 2024
@basil basil merged commit 7dd2180 into jenkinsci:master Jun 26, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IllegalStateException: Form with too many keys [1001 > 1000] on Jetty 12.x (regression from 10.x)
2 participants