Project

Profile

Help

Backport #9526

closed

Backport to 2.8: Pulp container does not validate container distribution base paths

Added by ipanova@redhat.com about 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Triaged:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 110
Quarter:

Description

Container distribution base paths are supposed to be a valid container repository names, however, the container distribution serializer doesn't validate for this aside from verifying the container namespace in the base path. Right now users can create distributions with names like i/am/an/very:bad:container/name.py, which breaks the registry in Automation Hub.


Related issues

Copied from Container Support - Issue #9403: Pulp container does not validate container distribution base pathsCLOSED - CURRENTRELEASElmjachkyActions

Also available in: Atom PDF