Ansible collection remote doesn't handle trailing / in sync url
With a url https://galaxy.ansible.com it works fine.
With a url https://galaxy.ansible.com/ , throws the following error: https://gist.github.com/sjha4/0afdd783bac7cea56055b706f6b02155
- Status changed from POST to MODIFIED
Applied in changeset pulp_ansible|28106c26cc7147cd28f92a25b0d9cedb9df3ac83.
Earlier in pulp_ansible sync was actually a call to the mazer client, so the URL was passed directly to mazer. If that URL contained a slash mazer would fail. This change in Pulp was a workaround to avoid this unfixed mazer issue: https://github.com/ansible/mazer/issues/288
However, after this was merged, the use of mazer (and this validation workaround) were both removed as part of https://pulp.plan.io/issues/5165 So in terms of the current state of the code this shouldn't be an issue. If you see any issues currently with trailing slashes please let us know.
Please register to edit this issue