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)

貢獻者指南

Active link is not asserted for URL with special characters · reach/router#320 | Good First Issue