irfanrufi
1 week ago

URL not working with double slashes

Posted 1 week ago by irfanrufi

Hi, I've yet another noobish question. I'm making an app. I'm running in to possibly a routing issue

example.com/test

this url works as it should but

example.com//test

this doesn't work and due to the context of my app, the route should be visible with double slashes too, I feel like this could be an htaccess issue but nothing I tried seem to work.

I tried adding double slashes in get request in route as well, tried wildcard, but nothing seem to work for me. Any help would be appreciated highly!

Please sign in or create an account to participate in this conversation.