volomike / Faster

A Minimalist, Zero-Config PHP MVC Framework
27 stars 7 forks source link

Not Properly Assigning 404 on Bad Paths #19

Closed volomike closed 12 years ago

volomike commented 12 years ago

The dispatchRoute routine is not properly assigning 404 on bad paths. Instead, it's defaulting to the homepage.

volomike commented 12 years ago

This bug occurred a few versions back. I've since rectified the problem in 1.0365.

volomike commented 12 years ago

A problem has been presented. I have implemented a fix, but then it breaks the ability to pass parameters to the Default controller (app/_controllers/Default/cDefault.php). This also breaks the initial demo of the framework, which is not good.

I need to implement a fix where we check if a controller is found on the URL specified, or whether we need to 404. So, I'm close, just not there all the way yet.

volomike commented 12 years ago

Fixed in 1.0366