reach/router

Active link is not asserted for URL with special characters

Open

#320 geöffnet am 1. Nov. 2019

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (6.917 Stars) (352 Forks)batch import
good first issuehelp wanted

Beschreibung

I think that here:

https://github.com/reach/router/blob/28a79e7fc3a3487cb3304210dc3501efb8a50eba/src/index.js#L406-L407

location.pathname should be instead decodeURIComponent(location.pathname)

Contributor Guide