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

Percent encode relative path like url.pathToFileURL #134

Merged
merged 3 commits into from
Apr 26, 2022
Merged

Percent encode relative path like url.pathToFileURL #134

merged 3 commits into from
Apr 26, 2022

Conversation

ntkme
Copy link
Contributor

@ntkme ntkme commented Apr 20, 2022

Fixes #133.

@ntkme
Copy link
Contributor Author

ntkme commented Apr 20, 2022

@nex3 I coincidentally saw your comment in whatwg/url regarding relative URLs when looking into this. Too bad that there is no native path.relative kind of feature for URL which would solve this issue in a much easier way.

@nex3 nex3 self-requested a review April 25, 2022 20:48
lib/src/utils.ts Show resolved Hide resolved
lib/src/utils.test.ts Show resolved Hide resolved
@nex3
Copy link
Contributor

nex3 commented Apr 26, 2022

Ah, I understand now. Thanks!

@nex3 nex3 merged commit 086fe54 into sass:main Apr 26, 2022
@ntkme ntkme deleted the percent-encode-relative branch April 26, 2022 20:29
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.

sourcemap sources field gets url encoded
2 participants