Skip to content

Commit

Permalink
HTML-decode URLs in HTML indexes (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored Mar 5, 2024
1 parent 01ebaef commit aeb80e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/uv-client/src/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl SimpleHtml {
requires_python,
hashes,
filename: filename.to_string(),
url: href.to_string(),
url: decoded.to_string(),
size: None,
upload_time: None,
})
Expand Down Expand Up @@ -443,7 +443,7 @@ mod tests {
requires_python: None,
size: None,
upload_time: None,
url: "/whl/Jinja2-3.1.2+233fca715f49-py3-none-any.whl#sha256=6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61",
url: "/whl/Jinja2-3.1.2+233fca715f49-py3-none-any.whl#sha256=6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61",
yanked: None,
},
],
Expand Down

0 comments on commit aeb80e3

Please sign in to comment.