Closed
Description
What version of React Router are you using?
6.8.1
Steps to Reproduce
SSR a <Link />
component with an absolute URL like this:
<Link to="https://www.google.com">Google</Link>
Expected Behavior
The link is recognized to be external and rendered like this:
<a href="https://www.google.com">Google</a>
Actual Behavior
The link is considered internal and rendered like this:
<a href="/https://www.google.com">Google</a>
Basically, this check makes the <Link/>
component not SSR-friendly.