Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-16016

Encode path info when redirecting to SPA in exp. mgr.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.7.22, 15.7.1, 16.2.0
    • None
    • None
    • Flagged
    • Orion
    • Orion.Cycle7.Sprint
    • Undetermined
    • Small (1-2)

    Description

      In the Experience Manager, if a site map item of an SPA channel contains an accented character, clicking it on the left side is not processed correctly.

      For example, as visible in the network tab in dev tools, clicking site map item grĂ¼n:

      [site]/[channel]/gr%C3%BCn // UTF-8 encoded
      

      is redirected to

       
      [SPA]/gr%FCn // ISO-8859-1 encoded
      

      The redirect takes place in org.hippoecm.hst.container.HstDelegateeFilterBean#doRedirectPreviewURL where the path info is appended to the configured SPA URL, but not URL encoded.

      Normally there are no site map items with diacritics because that is prevented while creating content. However, when creating HST landing pages from the Experience Manager, site map items can still be save with diacritics. CMS-12566 exists to close that loophole.

      Attachments

        Issue Links

          Activity

            People

              jhoffman Jeroen Hoffman
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: