controller tasks on home page not working12 11 Browser Info Environment
Would love to have a nice happy way to make this work.
Still Valid:This bug is valid a newer version of concrete5. View Current Bug
I wonder what kind of approach you've got in mind. You said you don't want to let the controller make that decision (404 or not).
As far as I see it, this is the only way. The request object cannot know whether a page (+method) actually exists or not. Only the controller has that kind of knowledge due to which I don't see any other approach.
If you think my code will break something, let me know what and I'll run some more tests. My code is in use on every project we've built during the last 6 months. We deploy more than just one site per month...
While I agree that forwarding calls to the controller is a bit ugly, this already happens, not at such an excess at it would with my pull requests, but it happens. And besides, having this bug in the core is definitely the ugliest thing!