sindresorhus / normalize-url

Normalize a URL
MIT License
837 stars 123 forks source link

Fails to strip both hash and trailing slashes #110

Closed sp90 closed 4 years ago

sp90 commented 4 years ago

So if you parse both:

{
  stripHash: true,
  removeTrailingSlash: true,
}

For those who have hash it only strips the hash and not also the slash, I think this could be fixed by changing the execution order

sp90 commented 4 years ago

Figured out it was something I did