Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with the search and special characters like ‘#’ #492

Open
jcreel opened this issue Jan 10, 2023 · 1 comment
Open

Problems with the search and special characters like ‘#’ #492

jcreel opened this issue Jan 10, 2023 · 1 comment
Assignees
Labels

Comments

@jcreel
Copy link
Member

jcreel commented Jan 10, 2023

The URL encoding is likely breaking the search.
When searching for something that has the pound symbol ‘#’, the URL being rendered in the browsers URL bar does not work. If this URL gets copied or the page gets reloaded, a 400 error is presented. Removing the “%23” (the encoded variation of the pound symbol ‘#’) from the ‘value’ field in the URL results in a working page.

Everything search seems fine. But searching for Title like so provides no result (the example here uses parentheses):
https://library.tamu.edu/discovery/discovery-context/time-of-resolve?field=title&value=Map%20Showing%20Proposed%20Roads%20Between%20New%20Road%20(Rear)%20of%20Administration%20Building%20(New)%20and%20Highway%206&direction=ASC&sort=title

Ideally, this should be handled at the Solr core, but we need to ensure that SAGE is not mangling the URL somewhere in the pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants