Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-9263

Redirect URL being wrongly encoded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0, 6.2.43
    • 6.2.42
    • None
    • None

      What seems to be another corner case of MAGNOLIA-8821 we have an issue where if a redirect URL is used after a login the protocol portion of the URL is being wrongly encoded. It's because redirection scheme does not take into account absolute urls.

      Basically "http://" is changed to "http%3A//" where the colon is being encoded.

      Reproduce

      • magnolia.utf8.enabled=true
      • One option is to configure the CAS module (version 1.3.2) by setting parameters: casLoginURL, casLogoutURL, casServiceURL, casTicketRequestParameter,casValidateURL.

      Expected
      Should be redirected and the url should be correctly compressed.

      Actual
      Magnolia fails to redirect after several attempts due to wrong compression of the redirect url ("https%3A//.....")

      Workaround
      Bypass the GZipFilter to ignore compressing the redirect url.

        Acceptance criteria

              jsimak Jaroslav Simak
              rgange Richard Gange
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD