You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An https URL that redirects like https://arxiv.org/pdf/2308.16025.pdf will redirect to http://arxiv.org/pdf/2308.16025 losing the https and meaning that, for example, firefox will not automatically open the document without the user confirming it is safe.
just asks flask to build the redirect URL so I guess it comes down to the flask config and I assume it thinks it is http because it's behind a proxy or load balancer of some sort that is terminating the https
Describe the bug
An https URL that redirects like https://arxiv.org/pdf/2308.16025.pdf will redirect to http://arxiv.org/pdf/2308.16025 losing the https and meaning that, for example, firefox will not automatically open the document without the user confirming it is safe.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A redirect to https://arxiv.org/pdf/2308.16025
Additional context
I'm not sure if this is the right repo... I can see that
arxiv-browse/browse/routes/dissemination.py
Line 20 in 92ac910
Possibly it's down to
arxiv-browse/browse/factory.py
Line 67 in 92ac910
The text was updated successfully, but these errors were encountered: