From bee4137646220b4079f00d71d5188c8cb3d5d751 Mon Sep 17 00:00:00 2001 From: xhaggi Date: Thu, 22 Dec 2022 11:10:40 +0100 Subject: [PATCH] [fix] URI malformed error with valid encoded latin1 URL --- 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}`;