-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fix url parsing for collections with a name of "collections" #1376
Conversation
@mdellweg I think the latest commit fixes it in a cleaner way. By being more specific about the route the detail urls are included on top of, the path logic seems to work better. |
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Outdated
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Outdated
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Outdated
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Outdated
Show resolved
Hide resolved
f31640b
to
9ffec33
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for refining the tests. This is so much easier to review now.
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Outdated
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Outdated
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Outdated
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Show resolved
Hide resolved
pulp_ansible/tests/functional/api/collection/v3/test_collection_naming_edgecases.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait a second. There's an issue and a changelog missing.
216b775
to
21d42ac
Compare
fixes: pulp#1388 Signed-off-by: James Tanner <tanner.jc@gmail.com>
21d42ac
to
a13b630
Compare
https://issues.redhat.com/browse/AAH-2158
#1388
An alternative fix is to change
to
However, that will not allow for base paths containing "/"'s