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

Galaxy v2 - upstream response href fields are not rewritten #126

Open
briantist opened this issue Oct 14, 2023 · 0 comments
Open

Galaxy v2 - upstream response href fields are not rewritten #126

briantist opened this issue Oct 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@briantist
Copy link
Owner

briantist commented Oct 14, 2023

Hitting an endpoint like /api/v2/collections/community/general/versions/ or /api/v2/collections/community/general/versions/4.8.6/ or something, shows the upstream URL in the href field, not the galactory URL.

Luckily this field is not used in ansible-galaxy operations but it should probably be fixed. I probably introduced this in #104 either as a side-effect or while fixing #103.

v3 is not affected simply by way of it not returning absolute URLs, so the relative URL fragments it returns are accidentally correct.

@briantist briantist added the bug Something isn't working label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant