1. install jenkins (Windows)
2. enter the admin key
3. create admin user, but use a % sign in the password as the second last character, example "password%5"
Just hit this, as a software tester, I find it a bit troubling that web based apps are not validated for obvious vectors like the use of the % character in input values. Like the issue description says. When creating a first time admin account I hit this error, it's recoverable, so not a blocker, but it's very unexpected and not confidence building if it's the 1st thing you ever do in the platform.
java.lang.IllegalArgumentException: Not valid encoding '%5"'
at org.eclipse.jetty.util.UrlEncoded.decodeHexByte(UrlEncoded.java:889)
at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(UrlEncoded.java:522)
at org.eclipse.jetty.util.UrlEncoded.decodeTo(UrlEncoded.java:577)
at org.eclipse.jetty.server.Request.extractFormParameters(Request.java:551)
at org.eclipse.jetty.server.Request.extractContentParameters(Request.java:475)
at org.eclipse.jetty.server.Request.getParameters(Request.java:386)
Caused: org.eclipse.jetty.http.BadMessageException: 400: Unable to parse form content
at org.eclipse.jetty.server.Request.getParameters(Request.java:390)
at org.eclipse.jetty.server.Request.getParameterNames(Request.java:1049)
at javax.servlet.ServletRequestWrapper.getParameterNames(ServletRequestWrapper.java:212)
at org.kohsuke.stapler.RequestImpl.getParameterNames(RequestImpl.java:190)
at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:387)
at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:383)
at hudson.security.HudsonPrivateSecurityRealm$SignupInfo.<init>(HudsonPrivateSecurityRealm.java:573)
at hudson.security.HudsonPrivateSecurityRealm.validateAccountCreationForm(HudsonPrivateSecurityRealm.java:400)
at hudson.security.HudsonPrivateSecurityRealm.createAccountFromSetupWizard(HudsonPrivateSecurityRealm.java:320)
at jenkins.install.SetupWizard.doCreateAdminUser(SetupWizard.java:259)
at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
at org.kohsuke.stapler.MetaClass data-model-type="hudson.model.Hudson" id="jenkins" class="yui-skin-sam two-column jenkins-2.150.3" data-version="2.150.3"1.doDispatch(MetaClass.java:537)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:739)
Caused: javax.servlet.ServletException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:789)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:870)
Please provide more information about what you attempted to do, what you expected to happen, and what exactly happened instead.