Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
webconsole-4.3.4
-
None
-
None
-
Linux (Docker image tomcat:8.5-jdk8-openjdk), Tomcat 8.5.59.
Description
The pid is not URL-encoded before it's appended to the request URL. See here. Specifically this causes problems with the temporary pid "[Temporary PID replaced by real PID upon save]", used for factory components, since the brackets aren't valid in a URL.
Trying to save a new configuration for a factory component results in 400 Bad Request in Tomcat 8.5.59 (over HTTP, but not AJP).
Either change the placeholder "[Temporary PID replaced by real PID upon save]" to something that's URL-safe and/or URL-encode the pid in the client.