Skip to content

[Bug]: Path with emojis no longer working in v6 #8577

@SevenOutman

Description

@SevenOutman

What version of React Router are you using?

6.2.1

Steps to Reproduce

https://stackblitz.com/edit/github-ksmc1e?file=src/App.tsx

  • Declare a route with path set to "🔨"
  • Visit path "/🔨" (by clicking on the "About (🔨)" link)
  • "About" page is not shown and the "🔨" route is not matched

Expected Behavior

Routes that has a path with emoji should be matched as they were in v5.

Actual Behavior

Routes that has a path with emoji is not matched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions