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

Use proper URI parsing for asset tests. #185

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

orhtej2
Copy link
Contributor

@orhtej2 orhtej2 commented Nov 28, 2024

This fixes handling of pages with links like https://example.com//asset.css (see https://ci-apps-dev.yunohost.org/ci/job/4483) and fixes (?) regression from #178 that potentially breaks pages that use base tag.

This is done by properly parsing URIs with urlparse, replacing host/netloc and supplementing scheme as necessary.

@alexAubin alexAubin merged commit 80df0a1 into YunoHost:master Nov 28, 2024
1 check passed
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