We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Special character in URL leads to index/index

Hi people,

I'm having an issue with phalcon and url's. When i open a URL like localhost/login/hi+, it shows the index controller as if everything is correct. I noticed the same thing on all other projects of phalcon, for example "https://invo.phalcon.io/about/index+" shows me index/index, and not about/index or an error page. It happens with all special characters. Isn't there a way to have it act the same as with all other controller names? How would i achieve a 404 error page for this?

Thank you



3.8k

working perfectly, thank you!