Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-1244

Backquoted forward slashes in URLs should be handled by the URLRewrite policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 1.3.x
    • 1.3.0.Final
    • Gateway, Policy
    • None
    • Hide

      Have a response body containing something like:

      {
      "URL": "http:\/\/host\/api"
      }

      The policy cannot rewrite the URL.

      Show
      Have a response body containing something like: { "URL": "http:\/\/host\/api" } The policy cannot rewrite the URL.

      Some JSON encoders backquote any forward slashes in the data, which is allowed. If the data contains a URL, then the result becomes "http:\/\/...". The URLRewrite policy does not handle the backquotes when checking for a URL in the body, so the URL cannot be rewritten.

              msavy_jira Marc Savy (Inactive)
              scott.elliott@amdocs.com Scott Elliott (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: