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

URL Rewriting Policy doesn't change body

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.2.x
    • 1.2.x
    • Policy
    • None

      When I am trying to rewrite an expression, in URL Rewriting Policy Configuration, with regex it doesn't work with body but, with header it works perfectly. For example:

      • Configuration
        • regex: "\w+"
        • replacement: "changed"
        • header: true
        • body: true

      and result is that every header value contains a lot of "changed" words and in body is changed just first word, in my case "https"

              ewittman@redhat.com Eric Wittmann
              opontes_jira Ondrej Pontes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: