Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-15490

When clicking on a folder name in search results that contains an ampersand (&), you are taken to an error page

    Details

      Description

      Description
      If a folder contains ampersand (&) in folder name and if you search for the folder, the search results page generates incorrect url.

      Supporting evidence
      See attached screenshot
      Also reproduced in 5.0.2.5

      Steps to reproduce

      1. Create a folder in any site with name "1111 a & b"
      2. Now search for term "1111 a" in top right search box
      3. The search results gives "1111 a & b" as part of search result
      4. When you click on search result it takes to you a page showing error message "No items"

      Expected Behaviour
      Clicking on folder in search results takes you to the content of the folder. This is the observed behavior when the ampersand is replaced with "and".

      Observed Behaviour
      User taken to a screen with red banner saying "no items".

        Attachments

          Activity

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              jtsmith John-Taylor Smith
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h