If a folder contains ampersand (&) in folder name and if you search for the folder, the search results page generates incorrect url.
See attached screenshot
Also reproduced in 126.96.36.199
Steps to reproduce
- Create a folder in any site with name "1111 a & b"
- Now search for term "1111 a" in top right search box
- The search results gives "1111 a & b" as part of search result
- When you click on search result it takes to you a page showing error message "No items"
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".
User taken to a screen with red banner saying "no items".