getsentry / symbolicator

Native Symbolication as a Service
https://getsentry.github.io/symbolicator/
MIT License
362 stars 51 forks source link

feat(downloader): Avoid downloading login pages #1533

Closed tobias-wilfert closed 1 month ago

tobias-wilfert commented 1 month ago

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

Fixes: https://github.com/getsentry/symbolicator/issues/1526

loewenheim commented 1 month ago

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.