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

matching query parameters #100

Open
MicahDavid opened this issue Apr 13, 2021 · 1 comment
Open

matching query parameters #100

MicahDavid opened this issue Apr 13, 2021 · 1 comment

Comments

@MicahDavid
Copy link

I'm having trouble using this with routes that have query parameters.

For example:

            from: '/?source=pwa',
            to: return '/new-url'            

I can get it to match, but the resulting url is:
http://localhost:3000/?%2Fnew-url , where its http://localhost:3000/?/new-url with the question mark encoded.

How can I prevent the question mark from being passed on to the new url?

@marioklassen
Copy link

Same issue here. Any updates on this?

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

2 participants