Skip to content

Remove missing host short-circuit from canonical URL construction#11087

Closed
zanieb wants to merge 1 commit intomainfrom
zb/remove-host-check
Closed

Remove missing host short-circuit from canonical URL construction#11087
zanieb wants to merge 1 commit intomainfrom
zb/remove-host-check

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Jan 30, 2025

This was added in 93d606a when Url::set_password (and username) were unwrapped but now we just ignore those errors (those functions require the URL to have a host).

Removed this to see if it changed any tests and figured I'd commit it, @charliermarsh is poking at it so maybe he's changing behavior that relies on removing this to allow canonicalization of file:// URLs (which don't have a host).

This was added in 93d606a when `Url::set_password` (and username) were unwrapped but now we just ignore those errors
@zanieb zanieb requested a review from charliermarsh January 30, 2025 03:43
@zanieb
Copy link
Member Author

zanieb commented Jan 30, 2025

Ah it's #11088

@zanieb zanieb closed this Jan 30, 2025
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.

1 participant