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
Actions #1

Updated by ipanova@redhat.com about 3 years ago

  • Copied from Issue #9403: Pulp container does not validate container distribution base paths added
Actions #2

Updated by ipanova@redhat.com about 3 years ago

  • Sprint/Milestone set to 2.8.2
Actions #3

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 107 to Sprint 108
Actions #4

Updated by ipanova@redhat.com about 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
Actions #5

Updated by pulpbot about 3 years ago

  • Status changed from ASSIGNED to POST
Actions #7

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 108 to Sprint 109
Actions #8

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 109 to Sprint 110

Added by Lubos Mjachky almost 3 years ago

Revision 360628aa | View on GitHub

Add validation for a repository base path

backports #9403 closes #9526 (cherry picked from commit 4d8802e6e928881dfc9282c990f4f6dea2d62048)

Added by Lubos Mjachky almost 3 years ago

Revision 360628aa | View on GitHub

Add validation for a repository base path

backports #9403 closes #9526 (cherry picked from commit 4d8802e6e928881dfc9282c990f4f6dea2d62048)

Actions #9

Updated by Anonymous almost 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #10

Updated by pulpbot almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF