mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Propagate credentials to files on devpi indexes ending in /+simple
(#13743)
Closes https://github.com/astral-sh/uv/issues/13737 Not much to say here — devpi is common enough that we should support their weird `/+simple` URL format.
This commit is contained in:
parent
13a86a23b3
commit
691a4f1379
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ impl IndexUrl {
|
|||
segment => segment,
|
||||
};
|
||||
|
||||
if !last.eq_ignore_ascii_case("simple") {
|
||||
// We also handle `/+simple` as it's used in devpi
|
||||
if !(last.eq_ignore_ascii_case("simple") || last.eq_ignore_ascii_case("+simple")) {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue