Skip to content

ocilayout: narrow Windows drive path detection#3820

Merged
tonistiigi merged 1 commit intodocker:masterfrom
crazy-max:ocilayout-fix-winpath-detection
Apr 27, 2026
Merged

ocilayout: narrow Windows drive path detection#3820
tonistiigi merged 1 commit intodocker:masterfrom
crazy-max:ocilayout-fix-winpath-detection

Conversation

@crazy-max
Copy link
Copy Markdown
Member

follow-up #3812 (comment)

The previous check treated any single letter followed by a colon as a Windows drive prefix, which made oci-layout://a:1.3 parse incorrectly.

This change tightens Windows drive path detection in OCI layout reference parsing so one-character relative paths with tags are not mistaken for Windows absolute paths.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max requested a review from tonistiigi April 27, 2026 08:21
@crazy-max crazy-max added this to the v0.34.0 milestone Apr 27, 2026
@crazy-max crazy-max marked this pull request as ready for review April 27, 2026 08:21
@tonistiigi tonistiigi merged commit f1b60d2 into docker:master Apr 27, 2026
161 checks passed
@crazy-max crazy-max deleted the ocilayout-fix-winpath-detection branch April 27, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants