mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-26 13:52:51 +00:00
Closes https://github.com/astral-sh/uv/issues/1388 Fixes incorrect handling of relative paths returned by indexes without an explicit `<base>`. `Url.join` will drop the last segment in an url e.g. `http://foo/bar` -> `http://foo/baz` if there is not a trailing slash but what we want is `http://foo/bar/baz`. We don't add the trailing `/` in `base_url_join_relative` because flat indexes are `http://foo/bar.html` and we _want_ `bar.html` to be replaced. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||