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

Problem with router with double // in end of url #326

Open
smackup opened this issue Mar 3, 2024 · 0 comments
Open

Problem with router with double // in end of url #326

smackup opened this issue Mar 3, 2024 · 0 comments

Comments

@smackup
Copy link

smackup commented Mar 3, 2024

I accidentally discovered a problem in one of my projects, when a double slash is formed at the end of a link from a third-party resource, the router stops working properly.

Error >"Failed to construct 'URL': Invalid URL."

You can reproduce the problem at https://inertiajs.com// for example.

I wouldn't say it's an important problem, but if it exists, it would probably be a good idea to fix it.

Great product by the way, kudos and respect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant