[TYPO3-dev] Internal redirect creates cHash Exception

Johannes Mueller j.f.mueller at gmx.de
Thu Sep 10 09:39:56 CEST 2015


One way to solve the issue could be to add the path to
cHashExcludedParameters in your production configuration.
Install tool -> all configuration -> FE -> Add the url get param you want
to allow to cHashExcludedParameters
This leads to avoidance of cHash validation for the specific path
structure. I'm definetely not sure if this is the best way to go, but it
shall fix the issue :>

J. M.

2015-09-10 9:22 GMT+02:00 Daniel Ritter <it.daniel.ritter at gmail.com>:

> Hi,
> I developed an extension, localy all works fine, but on the relaunch
> server I've got a problem. I used an internal redirect. The cause is, the
> extensions shows entries in catrgories and if I open a category the first
> entry have to been shown. So I implemented an redirect for this case.
> Otherwise I would have an duplicated URL. But now were using realUrl and my
> Problem is that when I select a category I become an 404-Reason: Request
> parameters could not be validated (&cHash comparison failed). My redirect
> looks so :
>
> $this->redirect($request->getControllerActionName(),
> $request->getControllerName(), $request->getControllerExtensionName(),
> ['category'=>null, 'entry' => $entry]);
>
> Is someone there who has a solution idea?



More information about the TYPO3-dev mailing list