Visitar URL original
Fix fragment boundaries in `UrlString::base_str` by astral-automations-bot[bot] · Pull Request #21920 · astral-sh/uv · GitHub
Skip to content

Fix fragment boundaries in UrlString::base_str - #21920

Merged
zanieb merged 1 commit into
mainfrom
zb/fix-url-string-base-fragment
Sep 22, 2026
Merged

zanieb merged 1 commit into
mainfrom
zb/fix-url-string-base-fragment

Conversation

@astral-automations-bot

Copy link
Copy Markdown
Contributor

UrlString::base_str searches for ? before #, so a ? inside fragment data can leave the fragment attached to a distribution filename or archive-extension check. Split at the first query or fragment delimiter while preserving the original URL and the query parameters used for requests. Follow-up to #10253.

@astral-automations-bot astral-automations-bot Bot added the bug Something isn't working label Sep 22, 2026
@zanieb
zanieb enabled auto-merge (squash) September 22, 2026 19:06
@zanieb
zanieb merged commit 0714322 into main Sep 22, 2026
59 checks passed
@zanieb
zanieb deleted the zb/fix-url-string-base-fragment branch September 22, 2026 19:13
hbjydev pushed a commit to hbjydev/phoebe that referenced this pull request Sep 23, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [uv](https://github.com/astral-sh/uv) | tools | patch | `0.12.17` → `0.12.18` |

---

### Release Notes

<details>
<summary>astral-sh/uv (uv)</summary>

### [`v0.12.18`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01218)

[Compare Source](astral-sh/uv@0.12.17...0.12.18)

Released on 2026-09-22.

##### Enhancements

- Add `--output-format json` to `uv pip install` and `uv pip sync`, including for `--dry-run` and `--check` ([#&#8203;21893](astral-sh/uv#21893))
- Add `--check` to `uv pip install` and `uv pip sync` to report planned changes without modifying the environment ([#&#8203;21844](astral-sh/uv#21844))
- Identify failures from `get_requires_for_build_*` hooks correctly in build errors ([#&#8203;21881](astral-sh/uv#21881))

##### Preview features

- Validate build requirements for `uv build --no-build-isolation` with `--preview-features build-dependency-check`; use `--skip-dependency-check` to opt out ([#&#8203;21880](astral-sh/uv#21880))

##### Performance

- Speed up `uv_build` editable wheel creation by omitting compression from temporary wheels ([#&#8203;21918](astral-sh/uv#21918))

##### Bug fixes

- Select package versions with wheels compatible with each Python resolution fork, correctly interpreting generic and stable-ABI wheel tags ([#&#8203;21835](astral-sh/uv#21835), [#&#8203;21836](astral-sh/uv#21836))
- Restore project, script, and lock files when `uv add`, `uv remove`, or `uv version` fails or is interrupted ([#&#8203;21860](astral-sh/uv#21860), [#&#8203;21856](astral-sh/uv#21856))
- Use configured `dependency-metadata` when checking whether installed requirements are satisfied ([#&#8203;21843](astral-sh/uv#21843))
- Reject archive entries that normalize to absolute Windows paths ([#&#8203;21923](astral-sh/uv#21923))
- Recognize distribution filenames and archive extensions when URL fragments contain `?` ([#&#8203;21920](astral-sh/uv#21920))
- Generate correctly lowercased platform tags for BSD and Haiku releases ([#&#8203;21853](astral-sh/uv#21853))
- Avoid rebuilding a Windows relative path into an absolute form ([#&#8203;21923](astral-sh/uv#21923))

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/London)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDguMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEwOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvcGF0Y2giXX0=-->

Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/734
luketainton pushed a commit to luketainton/luke_rsu that referenced this pull request Sep 23, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ghcr.io/astral-sh/uv](https://github.com/astral-sh/uv) | stage | patch | `0.12.17` → `0.12.18` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/11) for more information.

---

### Release Notes

<details>
<summary>astral-sh/uv (ghcr.io/astral-sh/uv)</summary>

### [`v0.12.18`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01218)

[Compare Source](astral-sh/uv@0.12.17...0.12.18)

Released on 2026-09-22.

##### Enhancements

- Add `--output-format json` to `uv pip install` and `uv pip sync`, including for `--dry-run` and `--check` ([#&#8203;21893](astral-sh/uv#21893))
- Add `--check` to `uv pip install` and `uv pip sync` to report planned changes without modifying the environment ([#&#8203;21844](astral-sh/uv#21844))
- Identify failures from `get_requires_for_build_*` hooks correctly in build errors ([#&#8203;21881](astral-sh/uv#21881))

##### Preview features

- Validate build requirements for `uv build --no-build-isolation` with `--preview-features build-dependency-check`; use `--skip-dependency-check` to opt out ([#&#8203;21880](astral-sh/uv#21880))

##### Performance

- Speed up `uv_build` editable wheel creation by omitting compression from temporary wheels ([#&#8203;21918](astral-sh/uv#21918))

##### Bug fixes

- Select package versions with wheels compatible with each Python resolution fork, correctly interpreting generic and stable-ABI wheel tags ([#&#8203;21835](astral-sh/uv#21835), [#&#8203;21836](astral-sh/uv#21836))
- Restore project, script, and lock files when `uv add`, `uv remove`, or `uv version` fails or is interrupted ([#&#8203;21860](astral-sh/uv#21860), [#&#8203;21856](astral-sh/uv#21856))
- Use configured `dependency-metadata` when checking whether installed requirements are satisfied ([#&#8203;21843](astral-sh/uv#21843))
- Reject archive entries that normalize to absolute Windows paths ([#&#8203;21923](astral-sh/uv#21923))
- Recognize distribution filenames and archive extensions when URL fragments contain `?` ([#&#8203;21920](astral-sh/uv#21920))
- Generate correctly lowercased platform tags for BSD and Haiku releases ([#&#8203;21853](astral-sh/uv#21853))
- Avoid rebuilding a Windows relative path into an absolute form ([#&#8203;21923](astral-sh/uv#21923))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDcuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjEwNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/rsu/pulls/49
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
luketainton pushed a commit to luketainton/repos_labmcp that referenced this pull request Sep 23, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ghcr.io/astral-sh/uv](https://github.com/astral-sh/uv) | final | patch | `0.12.17` → `0.12.18` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/51) for more information.

---

### Release Notes

<details>
<summary>astral-sh/uv (ghcr.io/astral-sh/uv)</summary>

### [`v0.12.18`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01218)

[Compare Source](astral-sh/uv@0.12.17...0.12.18)

Released on 2026-09-22.

##### Enhancements

- Add `--output-format json` to `uv pip install` and `uv pip sync`, including for `--dry-run` and `--check` ([#&#8203;21893](astral-sh/uv#21893))
- Add `--check` to `uv pip install` and `uv pip sync` to report planned changes without modifying the environment ([#&#8203;21844](astral-sh/uv#21844))
- Identify failures from `get_requires_for_build_*` hooks correctly in build errors ([#&#8203;21881](astral-sh/uv#21881))

##### Preview features

- Validate build requirements for `uv build --no-build-isolation` with `--preview-features build-dependency-check`; use `--skip-dependency-check` to opt out ([#&#8203;21880](astral-sh/uv#21880))

##### Performance

- Speed up `uv_build` editable wheel creation by omitting compression from temporary wheels ([#&#8203;21918](astral-sh/uv#21918))

##### Bug fixes

- Select package versions with wheels compatible with each Python resolution fork, correctly interpreting generic and stable-ABI wheel tags ([#&#8203;21835](astral-sh/uv#21835), [#&#8203;21836](astral-sh/uv#21836))
- Restore project, script, and lock files when `uv add`, `uv remove`, or `uv version` fails or is interrupted ([#&#8203;21860](astral-sh/uv#21860), [#&#8203;21856](astral-sh/uv#21856))
- Use configured `dependency-metadata` when checking whether installed requirements are satisfied ([#&#8203;21843](astral-sh/uv#21843))
- Reject archive entries that normalize to absolute Windows paths ([#&#8203;21923](astral-sh/uv#21923))
- Recognize distribution filenames and archive extensions when URL fragments contain `?` ([#&#8203;21920](astral-sh/uv#21920))
- Generate correctly lowercased platform tags for BSD and Haiku releases ([#&#8203;21853](astral-sh/uv#21853))
- Avoid rebuilding a Windows relative path into an absolute form ([#&#8203;21923](astral-sh/uv#21923))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDcuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjEwNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/labmcp/pulls/60
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
@zanieb zanieb added the project:maintainer-followups Maintainer follow-up work label Oct 9, 2026

This branch was successfully deployed

1 active deployment
automations — c533da30 Deployed Sep 22, 2026 by astral-automations-bot[bot] via review / security review #47393
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working project:maintainer-followups Maintainer follow-up work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant