Skip to content

URL encoding link to map files  #3982

@sorskoot

Description

@sorskoot

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions