[ https://issues.apache.org/jira/browse/CMIS-923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602928#comment-14602928 ]
Dmitry commented on CMIS-923: ----------------------------- ‘org.apache.chemistry.opencmis.tck.tests.crud.NameCharsetTest’ test creates a document with ‘abc%_Pxyz’ name. And Workbench sends a request to get the information of the object to the URL, which is similar to the following: {noformat} /cmis/versions/1.0/atom/content/abc%25_Pxyz?id=99a9fe7e-62ca-483c-b989-9363979559e6%3B1.0 {noformat} URL *is not encoded* in HTML notation in the Workbench. But server *tries* to decode a URL from the HTML notation. And the decoding is performed in the Apache code of the CMIS ATOMpub servlet: {noformat} org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.service(CmisAtomPubServlet.java:172) -> org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet.createContext(AbstractCmisHttpServlet.java:125) -> org.apache.chemistry.opencmis.server.shared.HttpUtils.splitPath(HttpUtils.java:71) -> org.apache.chemistry.opencmis.commons.impl.IOUtils.decodeURL(IOUtils.java:127) -> java.net.URLDecoder.decode(URLDecoder.java:192) {noformat} Apache Workbench must encode the URLs in HTML notation in the tests > URLDecoder: Illegal hex characters in escape (%) pattern - For input string > --------------------------------------------------------------------------- > > Key: CMIS-923 > URL: https://issues.apache.org/jira/browse/CMIS-923 > Project: Chemistry > Issue Type: Bug > Affects Versions: OpenCMIS 0.11.0, OpenCMIS 0.12.0, OpenCMIS 0.13.0 > Reporter: Dmitry > > The failure of the test of CMIS ATOMpub 1.0 in Apache Workbecn 0.13.0: > {noformat} > UNEXPECTED_EXCEPTION: Newly created document is invalid! Exception: > URLDecoder: Illegal hex characters in escape (%) pattern - For input string: > "_P" > {noformat} > The request is sent to the CMIS compatible server, whose support is > implemented, based on Apache Chemistry library -- This message was sent by Atlassian JIRA (v6.3.4#6332)