You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Wladislaw (JIRA)" <ji...@apache.org> on 2019/06/17 12:45:00 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 ]

Wladislaw updated OLINGO-1369:
------------------------------
    Attachment: 0001-OLINGO-1369-URIBuilderImpl-should-encode-blank-space.patch

> 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.7.0
>
>         Attachments: 0001-OLINGO-1369-URIBuilderImpl-should-encode-blank-space.patch
>
>
> 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
(v7.6.3#76005)