collectiveaccess / providence

Cataloguing and data/media management application
GNU General Public License v3.0
290 stars 166 forks source link

URL Encoding Failure for Tags Search #1531

Open miqrogroove opened 6 months ago

miqrogroove commented 6 months ago

Steps to reproduce:

  1. In the Tags field of the ObjectEditor, add a new tag containing a space, such as "Test Me".
  2. Do that for at least 2 objects to help generate a list later.
  3. Navigate to /manage/Tags/Index
  4. Search the tags for "Test".
  5. Click on the link for the tag "Test Me".

Expected result:

Providence should display a list of objects tagged with "Test Me".

Actual result:

Browser directed to /find/QuickSearch/Index/search/ca_item_tags.tag%3A"Test+Me" where zero results are displayed.

Workaround:

Replace the + char with the correct encoding %20 and refresh.