Skip to content

Commit

Permalink
Do not enforce newest URI rules on URLs (#2200)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhaggi authored Jan 27, 2023
1 parent 7daa9af commit 0ca0b7f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit 0ca0b7f

Please sign in to comment.