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

Ampersand in Wiki page name breaks search link

    Details

    • Bug Priority:
      Category 3
    • ACT Numbers:

      00873839

    • Regression Since:
      5.0
    • Sprint:
      O'Brien
    • Work Funnel End:
      2019-02
    • Story Points:
      3
    • Prioritization Score:
      1.35

      Description

      Description
      Ampersand in Wiki page title breaks search link in the full search results page. This looks like a regression of ALF-20827

      Steps to reproduce
      1. Create a new wiki page in Share with a title containing an ampersand, e.g. "Foo & Bar"
      2. Search for the page title or some part of it via quicksearch
      3. The link on the search results page will contain the ampersand un-escaped (e.g. share/page/site/wikis/wiki-page?title=Foo_&_Bar ), which breaks the link. (The link in quicksearch dropdown does work)
      4. Click on the wiki page link and inspect the routing behaviour

      Expected Behaviour
      Search page will direct to the wiki page "Foo & Bar"

      Observed Behaviour
      You will be directed to a new page "Foo " although the URL in the address bar is: http://localhost:8080/share/page/site/test-00873839/wiki-page?title=Foo_&_Bar as the & charcater is not URL encoded.

      Supporting evidence
      Reproduced in ACS 5.2

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                dkitsantonis Despina Kitsantonis [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel