Issue #4190
Tag names starting with `sha256:` could cause collisions
Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
This is a weird edge case to be sure. Here are the urlpatterns:
url(r'^v2/(?P<path>.+)/manifests/(?P<digest>sha256:[A-Fa-f0-9]+)$',
url(r'^v2/(?P<path>.+)/manifests/(?P<tag_name>[A-Za-z0-9\._-]+)$',
So if a tag is allowed to conform with `sha256:[A-Fa-f0-9]+)$`, it will resolve to the tag view instead of the BlobManifest view.
History
#1
Updated by CodeHeeler over 2 years ago
- Triaged changed from No to Yes
#2
Updated by ipanova@redhat.com almost 2 years ago
- Tags Pulp 3 added
#3
Updated by bmbouter almost 2 years ago
- Tags deleted (
Pulp 3)
#4
Updated by ipanova@redhat.com over 1 year ago
- Project changed from Docker Support to Container Support
Please register to edit this issue