Skip to content

[Bug]: Link to="//" no longer works #10005

@mariorcosta

Description

@mariorcosta

What version of React Router are you using?

6.8.0

Steps to Reproduce

when linking to home using "//" to have the url ending with / no longer works with the newly minor version

Expected Behavior

redirect to the home page

Actual Behavior

Uncaught TypeError: Failed to construct 'URL': Invalid URL

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions