Skip to content
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

AO3-5744 Fix following relative redirects in work importing #4861

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Bilka2
Copy link
Contributor

@Bilka2 Bilka2 commented Jun 23, 2024

Issue

https://otwarchive.atlassian.net/browse/AO3-5744

Purpose

Handle relative redirects in work importing by using the original request host for relative redirect targets instead of trying to directly go to a target like /856.html.

Testing Instructions

More candidate URLs for testing are multichapter works on AO3 because they do a relative redirect to the first chapter. E.g. https://archiveofourown.org/works/1153569 redirects to /works/1153569/chapters/2339203

Credit

Bilka (he/him)

@Bilka2 Bilka2 added the Temporarily Closed To be reopened when we have fewer pull requests, have actioned the review, etc label Oct 15, 2024
@Bilka2 Bilka2 closed this Oct 15, 2024
@Bilka2 Bilka2 reopened this Oct 15, 2024
@Bilka2 Bilka2 removed the Temporarily Closed To be reopened when we have fewer pull requests, have actioned the review, etc label Oct 15, 2024
@Bilka2 Bilka2 closed this Nov 22, 2024
@Bilka2 Bilka2 added the Temporarily Closed To be reopened when we have fewer pull requests, have actioned the review, etc label Nov 22, 2024
@Bilka2 Bilka2 reopened this Nov 24, 2024
@Bilka2 Bilka2 removed the Temporarily Closed To be reopened when we have fewer pull requests, have actioned the review, etc label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants