-
Notifications
You must be signed in to change notification settings - Fork 3
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
Handle relative redirects #270
Milestone
Comments
aeqz
added a commit
that referenced
this issue
Jan 26, 2023
Problem: Currently, Xrefcheck can follow redirects with an absolute location link, but it cannot handle relative ones. Solution: After parsing the location link, obtain the corresponding absolute link by using the original request one.
aeqz
added a commit
that referenced
this issue
Jan 26, 2023
aeqz
added a commit
that referenced
this issue
Jan 26, 2023
Problem: Currently, Xrefcheck can follow redirects with an absolute location link, but it cannot handle relative ones. Solution: After parsing the location link, obtain the corresponding absolute link by using the original request one.
aeqz
added a commit
that referenced
this issue
Jan 27, 2023
Problem: Currently, Xrefcheck can follow redirects with an absolute location link, but it cannot handle relative ones. Solution: After parsing the location link, obtain the corresponding absolute link by using the original request one.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clarification and motivation
When following redirects, we are not handling relative location paths, which can be either relative to the base URL or to the parent path of the original request: https://en.wikipedia.org/wiki/HTTP_location
Acceptance criteria
The text was updated successfully, but these errors were encountered: