Commit 3738d58
Respect trailing slash when basename is used (#8861)
* #8312 and also #6226
* cla sign
* fix: properly handle trailing slashes in Navigate and Link
* fix: handle useSearchParams use case with undefined to.pathname
Co-authored-by: Leszek Kobus <l.kobus@infinity-group.pl>
Co-authored-by: Matt Brophy <matt@brophy.org>1 parent 3af13ec commit 3738d58
File tree
6 files changed
+493
-11
lines changed- packages
- react-router-dom/__tests__
- react-router
- __tests__
- lib
- router
6 files changed
+493
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments