Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only replace trailing slash on decode (#11899)
**Motivation** I first noticed this in `@react-navigation/core@6.4.14`. I think it happened in #11869 When you decode a path param that has an encoded `/` it removes the encoded param and leaves the trailing param in state. **Test plan** Create a route that have a path param with a`%2F` in it, verify that it comes out correctly decoded
- Loading branch information
1 parent
4edbb07
commit 31bb8a1
Showing
2 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters