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

[Backport to 12.5.1] Console does not encode path set in the browser address bar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.5.1
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 192

      Description

      Relates to CMS-11480, see that issue for full background

      Using one of the following Tomcat versions

      • trunk for 9.0.8 onwards
      • 8.5.x for 8.5.31 onwards
      • 8.0.x for 8.0.52 onwards
      • 7.0.x for 7.0.87 onwards

      Steps to reproduce

      1. Create archetype project and add Events using Essentials. Start the project
      2. Go to localhost:8080/cms/console and browse to [events/2018/09/breakfast/breakfast|http://localhost:8080/cms/console/?1&path=/content/documents/myhippoproject/events/2018/09/breakfast/breakfast[2]]
      3. Notice the [2] shown in the address bar, refresh the browser
      4. This causes a 400 status error

      Expected: the path to be properly encoded and to have %5B2%5D instead of [2]

      Similar issue in the repository servlet when browsing to this node throught /cms/repository/ pointer to the fix in CMS-11480 comments

       

      To be backported to all supported versions

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bleunis Bert Leunis (Inactive)
                Owner:
                Hippo Helpdesk
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: