Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions crates/uv-cache-key/src/canonical_url.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ impl CanonicalUrl {
return Self(url);
}

// If the URL has no host, then it's not a valid URL anyway.
if !url.has_host() {
return Self(url);
}

// Strip credentials.
let _ = url.set_password(None);
let _ = url.set_username("");
Expand Down