You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "mibo (Jira)" <ji...@apache.org> on 2019/12/03 13:50:01 UTC
[jira] [Updated] (OLINGO-1369) URIBuilderImpl should encode blank spaces for Navigation
[ https://issues.apache.org/jira/browse/OLINGO-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
mibo updated OLINGO-1369:
-------------------------
Fix Version/s: (was: (Java) V4 4.7.0)
(Java) V4 4.8.0
> URIBuilderImpl should encode blank spaces for Navigation
> --------------------------------------------------------
>
> Key: OLINGO-1369
> URL: https://issues.apache.org/jira/browse/OLINGO-1369
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Affects Versions: (Java) V4 4.6.0
> Reporter: Wladislaw
> Priority: Major
> Fix For: (Java) V4 4.8.0
>
> Attachments: 0001-OLINGO-1369-URIBuilderImpl-should-encode-blank-space.patch
>
>
> Patch file is appended.
> Error cause:
> {code:java}
> Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 158: https://localhost:8043/sap/opu/odata4/sap/api/default/sap/foo/0001/ObjektEbeneSet(Nr='121',Bezeichnung='Landwirtschaft und Tierzucht')
> at java.base/java.net.URI.create(URI.java:883)
> at org.apache.olingo.client.core.uri.URIBuilderImpl.build(URIBuilderImpl.java:324)
> Caused by: java.net.URISyntaxException: Illegal character in path at index 158: https://localhost:8043/sap/opu/odata4/sap/api/default/sap/foo/0001/ObjektEbeneSet(Nr='121',Bezeichnung='Landwirtschaft und Tierzucht')
> at java.base/java.net.URI$Parser.fail(URI.java:2915)
> at java.base/java.net.URI$Parser.checkChars(URI.java:3086)
> at java.base/java.net.URI$Parser.parseHierarchical(URI.java:3168)
> at java.base/java.net.URI$Parser.parse(URI.java:3116)
> at java.base/java.net.URI.<init>(URI.java:600)
> at java.base/java.net.URI.create(URI.java:881){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)