Skip to content

fix: skip the userinfo of a URL in split_spec - #334

Merged
henryiii merged 1 commit into
mainfrom
fix/url-userinfo-split
Nov 21, 2026
Merged

henryiii merged 1 commit into
mainfrom
fix/url-userinfo-split

Conversation

@henryiii

Copy link
Copy Markdown
Member

🤖 AI text below 🤖

Follow-up to #333. split_spec now skips the userinfo of a URL, so root://user:pass@host:1094/f.root:T splits at the key colon, not at the password colon. Before #333 these URLs split correctly (uproot split them at .root:).

One more difference from uproot: an @ before the first / ends a userinfo, so memory://f.root:a@b does not split.

Refs #322

A password colon, as in root://user:pass@host/f.root, is not the key
separator.

Refs #322

Assisted-by: ClaudeCode:claude-opus-5-5
@henryiii
henryiii marked this pull request as ready for review November 21, 2026 02:15
@henryiii
henryiii merged commit 5a12da0 into main Nov 21, 2026
12 checks passed
@henryiii
henryiii deleted the fix/url-userinfo-split branch November 21, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant