Logging in after following a Janeway link removes the journal code from the URL
Closed this issue · 0 comments
mauromsl commented
Logged originally by @pgoussy in openlibhums/janeway#3002
Describe the bug
It appears that if you need to log in after navigating to a non-public Janeway link, instead of being redirected back to the original URL, you are redirected to a new URL that is identical except that it is missing the journal code - which makes it appear to be a "Page Not Found" on the publisher's Janeway site.
Janeway version
1.4.2
To Reproduce
Steps to reproduce the behavior:
- Log out of Janeway (or open an incognito window)
- Click this link: https://journals.publishing.umich.edu/ptpbio/plugins/typesetting/preview_galley/article/2103/galley/966/#heading7
- Log in to Janeway
- Note that the URL you're redirected to is https://journals.publishing.umich.edu/plugins/typesetting/preview_galley/article/2103/galley/966/#heading7 - the same URL but without the
ptpbio
journal code
Expected behavior
After logging in, user should be redirected to the same URL they initially tried navigating to.
Screenshots
Here is a screen-recording of me demonstrating what I encountered: https://www.screencast.com/t/dq7Y7DnMXa