We currently use https://github.com/sindresorhus/normalize-url ^4.5.1 to normalize URLs and it's buggy.
The bug is simple that, they don't decode back the queryParameters after it's encode as side-effect of sort().
Fixed later here: sindresorhus/normalize-url#158
Solution: Upgrade to newer version of normalize-url
We currently use https://github.com/sindresorhus/normalize-url ^4.5.1 to normalize URLs and it's buggy.
The bug is simple that, they don't decode back the queryParameters after it's encode as side-effect of sort().
Fixed later here: sindresorhus/normalize-url#158
Solution: Upgrade to newer version of
normalize-url