You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Cannot include a '?' character in a manually specified.... #9613
You can't match a Route on the query string in the path. If this was possible in 6.3 or earlier, that was a bug. The query string is intentionally not supposed to match on a Route, as it is intended for extra data you want sent to that Route.
Reacted by Jailson Pacagnan Santana
Reacted by Jamie Hayman, Abhijeet Singh and Mike Burton
I've gotten this error when using navigate() to navigate to an URL that includes query parameters. I'm receiving the URL from a third party service (the onRedirectCallback callback from auth0-react to be concrete).
Supplying a URL with a query parameter worked with 6.3, but after upgrading to 6.4.3 I'm receiving the same error as described in this issue.
To get the same behavior as before, instead of simply calling navigate({pathname: returnTo}), I'm currently supplying the URL from the third party service this way:
Activity
[-][Bug]: [/-][+][Bug]: Cannot include a '?' character in a manually specified....[/+]timdorr commentedon Nov 19, 2022
You can't match a Route on the query string in the path. If this was possible in 6.3 or earlier, that was a bug. The query string is intentionally not supposed to match on a Route, as it is intended for extra data you want sent to that Route.
pganster commentedon Nov 28, 2022
I've gotten this error when using
navigate()to navigate to an URL that includes query parameters. I'm receiving the URL from a third party service (theonRedirectCallbackcallback from auth0-react to be concrete).Supplying a URL with a query parameter worked with 6.3, but after upgrading to 6.4.3 I'm receiving the same error as described in this issue.
To get the same behavior as before, instead of simply calling
navigate({pathname: returnTo}), I'm currently supplying the URL from the third party service this way: