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

Too aggressive URL encoding in ProxyHandler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0.Beta1, 2.0.0.Beta1
    • 1.3.21.Final
    • Proxy
    • None
    • Hide

      Since the server (shiny-server) is not under my control, I cannot change the URLs being generated. Instead I duplicated ProxyHandler, updating encodeUrlPart() to prevent '=' from being escaped. I am not sure this will cause problems in other cases though.

      Show
      Since the server (shiny-server) is not under my control, I cannot change the URLs being generated. Instead I duplicated ProxyHandler, updating encodeUrlPart() to prevent '=' from being escaped. I am not sure this will cause problems in other cases though.

      I'm proxying a server using the ProxyHandler. Some URLs includes equal signs, e.g. "http://proxy/foo=bar". Undertow encodes this and forwards the request to "http://target/foo%3dbar", instead of the expected "http://target/foo=bar", leading to a 404.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              cdanielw cdanielw (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: