typo3-realurl
typo3-realurl copied to clipboard
"Simulate time" from Admin Panel not working with realurl
Hi,
when using the admin panel to set a preview date with realurl enabled it always ends up to simulate "0:00 1-1-1970" The issue seems to be that the get vars from the Admin Panel are submitted like this:
Array ( [TSFE_ADMIN_PANEL[preview_simulateDate]] => 1501680553 [TSFE_ADMIN_PANEL[preview_simulateDate]_hr] => 13:29+2-8-2017 )
In the process of realurl where an array of the params gets created it ends up to "drop" the _hr param and end up with the wrong value in the "preview_simulateDate" Parameter:
[TSFE_ADMIN_PANEL][preview_simulateDate] => 13:29+2-8-2017
I'm not quite sure if this shouldn't be also changed in the core to be something like [TSFE_ADMIN_PANEL[preview_simulateDate][hr]] but maybe there is a possibilty to fix it in realurl that these values don't get manipulated like that.