Skip to content

tickets/DM-52773: Improve index.json URL construction#160

Merged
roceb merged 2 commits intomasterfrom
tickets/DM-52773
Oct 6, 2025
Merged

tickets/DM-52773: Improve index.json URL construction#160
roceb merged 2 commits intomasterfrom
tickets/DM-52773

Conversation

@roceb
Copy link
Collaborator

@roceb roceb commented Oct 6, 2025

Improve index.json URL construction.
Depending on how the pkgroot is passed, we might end up with a request to {pkgroot}//index.json instead of {pkgroot}/index. This change will correctly handling leading/trailing slashes in the url.
remove Nginx parsing workaround since we are no longer using nginx

@roceb roceb changed the title Improve index.json URL construction tickets/DM-52773: Improve index.json URL construction Oct 6, 2025
Copy link
Collaborator

@timj timj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please turn this into two commits since the two changes are completely distinct.

Also use posixpath.join for URLs.

@roceb roceb force-pushed the tickets/DM-52773 branch from 42fb238 to 81128cc Compare October 6, 2025 20:57
@roceb roceb merged commit b07110d into master Oct 6, 2025
8 checks passed
@roceb
Copy link
Collaborator Author

roceb commented Oct 6, 2025

Split the commit and updated the urls. Thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants