[TYPO3-mvc] Problem: invalid controller or action resolves to defaults

Xavier Perseguers typo3 at perseguers.ch
Sun Jan 24 21:12:45 CET 2010


Hi Masi,

> If I make up arguments for the action or the controller I get a page with the default action of the
> controller (if valid) or the default action of the default controller.
>
> How can I make it so that in this case an HTTP error is triggered (eg page not found). Otherwise the
> in fact invalid cHashes will swamp the page cache.

This is the behavior of the dispatcher. Have a look at his code (enough comments in code). You'll have to provide a patch...

Cheers

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-project-typo3v4mvc mailing list