From 0ca0b7f7134f41b45a51370154041cc97c28ca60 Mon Sep 17 00:00:00 2001 From: Sascha Woo Date: Fri, 27 Jan 2023 04:42:47 +0100 Subject: [PATCH] Do not enforce newest URI rules on URLs (#2200) --- source/core/options.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/source/core/options.ts b/source/core/options.ts index 478fdf4c1..8eedbe205 100644 --- a/source/core/options.ts +++ b/source/core/options.ts @@ -1403,7 +1403,6 @@ export default class Options { const urlString = `${this.prefixUrl as string}${value.toString()}`; const url = new URL(urlString); this._internals.url = url; - decodeURI(urlString); if (url.protocol === 'unix:') { url.href = `http://unix${url.pathname}${url.search}`;