Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify's add/remove_content_units is not validated for cross-domain content #5934

Closed
gerrod3 opened this issue Oct 24, 2024 · 0 comments · Fixed by #5935
Closed

Modify's add/remove_content_units is not validated for cross-domain content #5934

gerrod3 opened this issue Oct 24, 2024 · 0 comments · Fixed by #5935

Comments

@gerrod3
Copy link
Contributor

gerrod3 commented Oct 24, 2024

Version
<=pulpcore 3.66

Describe the bug
You can add content from another domain using the modify endpoint.

To Reproduce
Have content in one domain, then in a separate domain issue a repo modify command with content from the first domain.

Expected behavior
The request should be denied, 400.

gerrod3 added a commit to gerrod3/pulpcore that referenced this issue Oct 24, 2024
gerrod3 added a commit to gerrod3/pulpcore that referenced this issue Oct 25, 2024
patchback bot pushed a commit that referenced this issue Oct 29, 2024
patchback bot pushed a commit that referenced this issue Oct 29, 2024
patchback bot pushed a commit that referenced this issue Oct 29, 2024
mdellweg pushed a commit that referenced this issue Oct 30, 2024
mdellweg pushed a commit that referenced this issue Oct 30, 2024
mdellweg pushed a commit that referenced this issue Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant