tsgrp / OpenAnnotate

TSG's Browser-based Annotation Tool
8 stars 4 forks source link

Saved Search - Document unable to load if quotes are in a startup search #942

Closed jharkins2 closed 2 years ago

jharkins2 commented 2 years ago

If we perform a search with quotes the search is executed correctly (with the quotes being ignored per https://github.com/tsgrp/OpenAnnotate/issues/733). However when the page is reloaded and the quotes appear in the startup search, AEV fails to load: search_issue

The reason is we fail to escape the quotes correctly when rendering the FTL:

Capture

This will affect anything that passes a value to the startupSearch URL parameter, including incoming searches from ACA

gsteimer commented 2 years ago

Moved to Jira: https://alfresco.atlassian.net/browse/SEP-68