Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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 "" 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


working perfectly, thank you!