-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.17.0, 6.15.5.1, 6.14.4.4, 6.16.3
-
None
-
Phoenix - Content, Phoenix - Subscriptions
-
2
-
False
-
Sprint 146
-
None
-
None
-
None
-
None
- create Organization whose name ends with a non-alphanumeric character (e.g. Acme Inc.)
- create docker-type repository
expected : image can be synced
actual : sync fails with the following error:
PulpContainerClient::ApiError Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Wed, 05 Mar 2025 10:30:14 GMT", "server"=>"gunicorn", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"GET, POST, HEAD, OPTIONS", "x-frame-options"=>"DENY", "content-length"=>"71", "x-content-type-options"=>"nosniff", "referrer-policy"=>"same-origin", "cross-origin-opener-policy"=>"same-origin", "correlation-id"=>"d74f4f1a-c0aa-4fd6-9cfc-88b161db39e7", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 almalinux9-katello-nightly.example.com", "connection"=>"close"} Response body: {"base_path":["The provided base path contains forbidden characters."]}
Root cause
Organization label is created as Acme_Inc_.
The resulting base-path for the container-image is evaluated to something like acme_inc_/containertest/testcontainer, which is an invalid container-image name/path.