-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Broken Routing: Remix + React Router integration branch #4570
Labels
bug
Something isn't working
Comments
I found the code causing this issue and wrote an integration test to verify. I will play around with a few solutions. I assume this issue happens because in react router we mostly assume you are routing within an SPA but in remix that’s not necessarily the case. |
2 tasks
2 tasks
This should be resolved in |
Works great @brophdawg11 , thanks! |
Released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Remix are you using?
0.0.0-experimental-5b4bceda6
Steps to Reproduce
Within a Remix loader, call the redirect function with a fully qualified URL like
https://google.com
Example loader:
Expected Behavior
Calling redirect with a fully qualified url takes my user to that URL.
Actual Behavior
Calling redirect with a fully qualified url takes my user to my site url with the redirect url appended to the end
Like
http://localhost:3000/https://google.com
The text was updated successfully, but these errors were encountered: