reach/router

Active link is not asserted for URL with special characters

Open

#320 opened on 2019年11月1日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (352 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (6,917 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

I think that here:

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

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

コントリビューターガイド