reach/router

Active link is not asserted for URL with special characters

Open

#320 创建于 2019年11月1日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (6,917 star) (352 fork)batch import
good first issuehelp wanted

描述

I think that here:

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

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

贡献者指南