-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Issue is encountered on DSpace-CRIS 8 (2024.02.00).
Each publication/person page displays a Google Scholar badge.
When hovering over the badge, the browser shows the correct Google Scholar link in the format:
https://scholar.google.com/scholar?q=[publication/person title]
However, clicking the badge does not open Google Scholar directly. Instead, the link is rewritten to:
[dspace-server-url]/redirect/?url=[google scholar link]
This results in a 404 Not Found error from the DSpace-CRIS server.
Official demo has this problem too:
https://dspacecris-community.test.4science.cloud/
DSpace-CRIS 7 works fine.
Steps to reproduce:
- Open any publication page with a Google Scholar badge.
- Hover over the badge and observe the correct Google Scholar URL in the browser status bar.
- Click the badge.
- Notice that the URL is rewritten to /redirect/?url=... on the local DSpace server.
- A 404 error page is returned.
Expected behavior:
Clicking the Google Scholar badge should open Google Scholar directly with the appropriate search query for the publication title.
Actual behavior:
The link is redirected through the local /redirect/?url= path on the DSpace server, which does not exist and results in a 404 error.