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

feat(downloader): Avoid downloading login pages #1533

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

tobias-wilfert
Copy link
Member

@tobias-wilfert tobias-wilfert commented Oct 10, 2024

Introduces a custom redirect policy to avoid downloading login pages (uses a very crude heuristic).

Fixes: #1526

@tobias-wilfert tobias-wilfert changed the title WIP: Implemented possible solution to the login page issue. WIP: feat(downloader): Avoid downloading login pages Oct 14, 2024
@tobias-wilfert tobias-wilfert changed the title WIP: feat(downloader): Avoid downloading login pages feat(downloader): Avoid downloading login pages Oct 14, 2024
@loewenheim
Copy link
Contributor

Can you add a test that attempts to download a file from dev.azure.com and checks what result it produces? See the tests in download/http.rs for examples.

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.

Conditionally treat downloaded HTML files as errors
2 participants