In my extbase controller action, I want to redirect to another controller/action after a file has been uploaded, so I call
$this->redirect('index', 'Download', null, null, $this->settings['listView']);
Problem is, that the current language parameter gets lost during the redirect. The method signature allows an array of $arguments
on the fourth position, but if I put in L
there
$this->redirect('index', 'Download', null, array('L' => $GLOBALS['TSFE']->sys_language_uid), $this->settings['listView']);
the redirect wraps this with the extension parameter stuff like
&tx_myext_controller[L]=0
So my question is: How can I add the current language to an extbase redirect?