Hello,
Example filename: "Picture of a bird 4{2}123 (ID 1).png".
We can upload the file with dotCMIS okay, but can not download it later.
A 400 bad request is gotten from server with following response:
Message: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
Exception:
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:475) org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:294) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.base/java.lang.Thread.run(Thread.java:834)
Is this a configuration issue or a bug in ECM?
We have Community 6.1.2 running on the server, but no label found for 6.1.x.
Hi,
ACS 6.1 uses Tomcat 8.5+. You may need to add these characters to Tomcat config => https://tomcat.apache.org/tomcat-8.5-doc/config/http.html - relaxedPathChars &/or relaxedQueryChars settings.
See this Stack discussion of the topic and your options.
HTH,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.