We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f473a1 commit 85d0a5fCopy full SHA for 85d0a5f
packages/npm-packages/ruby-wasm-wasi/src/browser.script.ts
@@ -45,7 +45,7 @@ const loadScriptAsync = async (tag: Element): Promise<string> => {
45
// The presence of the src attribute is checked before the presence of the inline.
46
// see: https://html.spec.whatwg.org/multipage/scripting.html#inline-documentation-for-external-scripts
47
if (tag.hasAttribute("src")) {
48
- const url = encodeURI(tag.getAttribute("src"));
+ const url = tag.getAttribute("src");
49
const response = await fetch(url);
50
51
if (response.ok) {
0 commit comments