Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to strip both hash and trailing slashes #110

Closed
sp90 opened this issue May 14, 2020 · 1 comment
Closed

Fails to strip both hash and trailing slashes #110

sp90 opened this issue May 14, 2020 · 1 comment

Comments

@sp90
Copy link

sp90 commented May 14, 2020

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 sp90 changed the title When stripping hashes and trailing slashes Fails to strip both hashes and trailing slashes May 14, 2020
@sp90 sp90 changed the title Fails to strip both hashes and trailing slashes Fails to strip both hash and trailing slashes May 14, 2020
@sp90 sp90 closed this as completed May 14, 2020
@sp90
Copy link
Author

sp90 commented May 14, 2020

Figured out it was something I did

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant