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

NavLink changes to prop #782

Open
brownsf opened this issue Mar 26, 2020 · 0 comments
Open

NavLink changes to prop #782

brownsf opened this issue Mar 26, 2020 · 0 comments

Comments

@brownsf
Copy link

brownsf commented Mar 26, 2020

I have a url with text a user can supply. In this case it has a % in it. Looking at devtools the NavLink to prop is "/tables/Data%20set%20100%25/" but when I look at the Link component that NavLink renders the to prop is {"pathname":"/tables/Data set 100%/","search":"","hash":"","state":null}

When I click on the link i get the following error: "URIError: Pathname "/tables/Data set 100%/" could not be decoded. This is likely caused by an invalid percent-encoding."

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