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

Avoid panicking on cannot-be-a-base URLs #2461

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Avoid panicking on cannot-be-a-base URLs #2461

merged 1 commit into from
Mar 14, 2024

Conversation

charliermarsh
Copy link
Member

path_segments_mut returns an Err for cannot-be-a-base URLs. These won't be valid when we try to fetch them anyway, but we need to avoid a panic.

Closes #2460.

@charliermarsh charliermarsh added the bug Something isn't working label Mar 14, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) March 14, 2024 17:41
@charliermarsh charliermarsh merged commit 2fb8df3 into main Mar 14, 2024
30 checks passed
@charliermarsh charliermarsh deleted the charlie/colon branch March 14, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant