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

URL encoding link to map files #3982

Open
sorskoot opened this issue Nov 20, 2024 · 0 comments
Open

URL encoding link to map files #3982

sorskoot opened this issue Nov 20, 2024 · 0 comments

Comments

@sorskoot
Copy link

Issue

When a space is present in the filename of a Javascript file, this space also appears in the link to the map file at the end of a bundle.
Like //# sourceMappingURL=Some Random File.js.map . This will result in the map file not being found.

Expected behavior

By encoding it correctly there are now actual spaces anymore and the browser can show the correct file
//# sourceMappingURL=Some%20Random%20File.js.map

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

No branches or pull requests

1 participant