Actions
Backport #9526
closedBackport to 2.8: Pulp container does not validate container distribution base paths
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
Actions
Add validation for a repository base path
backports #9403 closes #9526 (cherry picked from commit 4d8802e6e928881dfc9282c990f4f6dea2d62048)