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

Don't follow redirects in some tests #326

Merged
merged 2 commits into from Apr 29, 2022
Merged

Don't follow redirects in some tests #326

merged 2 commits into from Apr 29, 2022

Conversation

oalders
Copy link
Member

@oalders oalders commented Apr 29, 2022

  • Tidy imports in dump.t and find_link.t
  • Don't try to follow redirects in tests

@oalders oalders changed the title oalders/meta refresh Don't follow redirects in some tests Apr 29, 2022
@oalders oalders force-pushed the oalders/meta-refresh branch 2 times, most recently from fb5e881 to d2129e0 Compare April 29, 2022 12:46
An upstream change in LWP::UserAgent now allows meta-refresh tags to be
followed by default. Set max_redirect to 0 to prevent this from
happening in tests.
Copy link
Member

@genio genio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@oalders
Copy link
Member Author

oalders commented Apr 29, 2022

Thanks, @genio!

@oalders oalders merged commit 133a2a8 into master Apr 29, 2022
@oalders oalders deleted the oalders/meta-refresh branch April 29, 2022 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants