You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This results in the wrong code path being taken and the data URI is interpreted as a URL, which results in an error: Cannot find SourceMap 'data:application/json;charset=utf-8;base64,...
I suggest relaxing the regexp to allow semicolon: /data:[^\n]+;base64,(.*)/
The text was updated successfully, but these errors were encountered:
One of the libraries I'm using has the following inline source map:
This doesn't match the regexp:
/data:[^;\n]+;base64,(.*)/
, because it specifies an encoding in themediatype
, but it's perfectly valid according to the spec: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIsThis results in the wrong code path being taken and the data URI is interpreted as a URL, which results in an error:
Cannot find SourceMap 'data:application/json;charset=utf-8;base64,...
I suggest relaxing the regexp to allow semicolon:
/data:[^\n]+;base64,(.*)/
The text was updated successfully, but these errors were encountered: