in2code-de / luxletter

Newsletter system for TYPO3
https://www.in2code.de/agentur/typo3-extensions/luxletter/
22 stars 25 forks source link

Link Hashes do not work #213

Closed EnzephaloN closed 6 months ago

EnzephaloN commented 6 months ago

With luxletter 25.0.2 all links in my newsletter result in page-error 1544172839 RuntimeException Error handler could not fetch error page "https://meinedomain.de/404" status code 302

The clicked link is like https://meinedomain.de/?luxletterlink=SOMEHASH

at TYPO3\CMS\Core\Error\PageErrorHandler\PageContentErrorHandler->handlePageError(object(TYPO3\CMS\Core\Http\ServerRequest), 'Request parameters could not be validated (&cHash empty)', array('code' => 'cache_hash.empty')) at TYPO3\CMS\Frontend\Controller\ErrorController->pageNotFoundAction(object(TYPO3\CMS\Core\Http\ServerRequest), 'Request parameters could not be validated (&cHash empty)', array('code' => 'cache_hash.empty'))

What I've missed to configure?

EnzephaloN commented 6 months ago

Found out, that this has to be configured in Global Configuration!

[FE][cacheHash][excludedParameters] append "luxletterlink"

I think this has to be added to the documentation?!

Kindly regards EnzephaloN

einpraegsam commented 6 months ago

Hi,

thx for reporting and digging into that issue. But you shouldn't have to exclude any parameters by yourself. The parameter "luxletterlink" was simply missing in the excluded variables. I just added it to the list.

Alex

einpraegsam commented 6 months ago

I just released version 25.0.3. Can you please test if this version would help you?

EnzephaloN commented 6 months ago

Hello! Thanks for your great work. This fixes this problem.

einpraegsam commented 6 months ago

thx for your final feedback