Configure org.eclipse.jetty.server.Request.maxFormKeys from server.properties and increase the default value#10214
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10214 +/- ##
==========================================
Coverage 15.12% 15.13%
- Complexity 11266 11280 +14
==========================================
Files 5408 5408
Lines 473900 474003 +103
Branches 57791 57821 +30
==========================================
+ Hits 71698 71747 +49
- Misses 394199 394235 +36
- Partials 8003 8021 +18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12131 |
|
@blueorangutan test keepEnv |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
kiranchavala
left a comment
There was a problem hiding this comment.
LGTM, uploaded the following csv file and the issue got fixed
https://gist.github.com/scottsignal/737022dba6f3d3b7847d3d0665adc6f3
Before fix, upload the csv file, exception is thrown

After fix there is no error and import is done successfully
|
[SF] Trillian test result (tid-12136)
|
* 4.20: linstor: Fix ZFS snapshot backup (#10219) fix listing of VMs by network (#10204) Configure org.eclipse.jetty.server.Request.maxFormKeys from server.properties and increase the default value (#10214) api: fix access for listSystemVmUsageHistory (#10032) Fix NPE issues during host rolling maintenance, due to host tags and custom constrained/unconstrained service offering (#9844)
…operties and increase the default value (apache#10214)
…operties and increase the default value (apache#10214)
Description
Fixes #9667
Details
This pull request introduces a new configuration option for the Apache CloudStack project to limit the maximum number of form keys allowed in API requests. The changes include:request.max.form.keyswith a default value of 5000 inserver.properties.in.ServerDaemonclass to handlerequest.max.form.keys:maxFormKeys.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested importRoles UI using the below csv file
roletest.csv
Before change : 404 error
Works after change.
How did you try to break this feature and the system with this change?