Skip to content

pulp_container SHOULD not disregard the base_path rules #2494

Description

@mdellweg

Version
pulp_container: all of them
pulpcore: < 3.117

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
On pulpcore < 3.117 run:

pulp file repository create --name "test" --autopublish
pulp file distribution create --name breakme --repository test --base-path break/me
pulp file content upload --repository test --file LICENSE --relative-path LICENSE
curl http://localhost:8080/pulp/content/
curl http://localhost:8080/pulp/content/break/
curl http://localhost:8080/pulp/content/break/me/
curl http://localhost:8080/pulp/content/break/me/LICENSE

# --------

pulp container distribution create --name offender --base-path break
curl http://localhost:8080/pulp/content/break/me/LICENSE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions