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

insertParams removes trailing slash #459

Open
czabaj opened this issue Mar 26, 2021 · 0 comments
Open

insertParams removes trailing slash #459

czabaj opened this issue Mar 26, 2021 · 0 comments

Comments

@czabaj
Copy link

czabaj commented Mar 26, 2021

The insertParams utility removes trailing slash from URIs which has one.

I prepared a failing test in CodeSandbox.

The fix is simple, just add a trailing slash if the path in the argument contains it (the leading slash is prepended similarly).

My question is, is this really a bug, or it bothers only me? 😄

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