Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1369

URIBuilderImpl should encode blank spaces for Navigation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.6.0
    • (Java) V4 5.0.1
    • odata4-client
    • None

    Description

      Patch file is appended.

      Error cause:

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            Imgrunt Wladislaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: