Open nomagick opened 5 months ago
https://github.com/sindresorhus/normalize-url/blob/4869023f4f2766b58e1954fd30e5f1609d2cf8e7/index.js#L245-L248
When the query string contains %2F or / like in some S3 signed token, the extra decodeURIComponent breaks the URL.
%2F
/
decodeURIComponent
https://github.com/sindresorhus/normalize-url/blob/4869023f4f2766b58e1954fd30e5f1609d2cf8e7/index.js#L245-L248
When the query string contains
%2F
or/
like in some S3 signed token, the extradecodeURIComponent
breaks the URL.