Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Ignoring encoded hash (#) from the URL #11359

Open
vk-detrans opened this issue Mar 21, 2024 · 0 comments
Open

[Bug]: Ignoring encoded hash (#) from the URL #11359

vk-detrans opened this issue Mar 21, 2024 · 0 comments
Labels

Comments

@vk-detrans
Copy link

What version of React Router are you using?

6.22.1

Steps to Reproduce

Given sandbox examples on how it works from 6.22.1 (tested latest 6.22.3).

When the user is in https://rgd377.csb.app/39%2310/ and clicks "next" (which is ./next), the linked path turns /39/next which was not the case until v6.22.0.

If this is expected behaviour or fixing some bug, let me know. Currently we have to revert the app to use v6.22.0.

Expected Behavior

When the url path name contains the encoded characters, while navigating using to="./next-page" or navigate('./next-page', the path name should not be broken.

code sandbox

Actual Behavior

code sandbox

@vk-detrans vk-detrans added the bug label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant