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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • None
    • 10.2.14
    • None
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: