Wizzercn / NutzWk

WK系列开发框架-V1至V5 Java开源企业级开发框架(单应用/微服务/分布式)
https://budwk.com
Apache License 2.0
1.62k stars 637 forks source link

jetty.maxFormKeys 设置无效 #118

Closed liumaobudao closed 5 years ago

liumaobudao commented 5 years ago

报错:java.lang.IllegalStateException: Form with too many keys [1001 > 1000] at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(UrlEncoded.java:502) at org.eclipse.jetty.util.UrlEncoded.decodeTo(UrlEncoded.java:577) at org.eclipse.jetty.server.Request.extractFormParameters(Request.java:555) at org.eclipse.jetty.server.Request.extractContentParameters(Request.java:478) at org.eclipse.jetty.server.Request.getParameters(Request.java:387) ... 60 common frames omitted

然后,application.properties 中 设置jetty.maxFormKeys=-1 无效

wendal commented 5 years ago

https://github.com/nutzam/nutzboot/issues/168