Remove URL encoding when determining file name (#1555)

## Summary

Closes https://github.com/astral-sh/uv/issues/1553.
This commit is contained in:
Charlie Marsh 2024-02-16 19:15:24 -05:00 committed by GitHub
parent 6392961f44
commit 9e0336c28a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 52 additions and 27 deletions

View file

@ -96,7 +96,7 @@ impl<'a, T: BuildContext> SourceDistCachedBuilder<'a, T> {
self.url(
source_dist,
filename,
&filename,
&url,
&cache_shard,
subdirectory.as_deref(),
@ -177,7 +177,7 @@ impl<'a, T: BuildContext> SourceDistCachedBuilder<'a, T> {
self.url_metadata(
source_dist,
filename,
&filename,
&url,
&cache_shard,
subdirectory.as_deref(),