Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1875

Matrix parameters with comma are not properly handled

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.3.5.Final
    • None
    • Core
    • None

      I'm trying to proxy a osrm http server with undertow :

      http://project-osrm.org/docs/v5.5.1/api/#route-service

      The osrm route request is as follow :

      curl 'http://router.project-osrm.org/route/v1/driving/13.388860,52.517037;13.397634,52.529407;13.428555,52.523219?overview=false'

      Sending this kind of url to an undertow instance leads to :

      java.lang.RuntimeException: UT000037: Failed to parse path in HTTP request
              at io.undertow.server.protocol.http.HttpRequestParser.handlePathParameters(HttpRequestParser.java:640)
              at io.undertow.server.protocol.http.HttpRequestParser.handlePath(HttpRequestParser.java:415)
              at io.undertow.server.protocol.http.HttpRequestParser.handle(HttpRequestParser.java:252)
              at io.undertow.server.protocol.http.SimpleParserTestCase.testMatrixParametersWithCommaInQueryString(SimpleParserTestCase.java:281)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      

              rhn-cservice-bbaranow Bartosz Baranowski
              philippe.griboval Philippe G. (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: