Encode EDS search query in URL when encoding link for OA Proxy Workaround
Currently, when a Discovery profile is set to use the OpenAthens Proxy Workaround, everything but the search term being queried is encoded. This is resulting in being taken to the main EDS landing page, but the search is not carried over.
Example query url:
We the search term that's included in the URL also encoded, like this:
Notice the first url has "&bquery=nursing" at the end and the second url has "%26bquery=nursing"
You can replicate the behavior by logging into GALILEO Staging as dem4 and performing a Classic Search. For testing purposes, I have the zbds:usg and zbds:neweds Discovery profiles set to use the OAproxy (and removed the "proxy remote" setting).
- Go to https://gs-staging.galileo.usg.edu/
- Log in as dem4
- Perform a Classic Search
- You will then be prompted to log in again since the OA proxy workaround is setup for prod but not staging. Go ahead and log in again as dem4.
- Go back to Go to https://gs-staging.galileo.usg.edu/ again
- Perform a Classic Search
- You should be taken to the EDS landing page instead of the results page
Edited by Mike White