[TYPO3-core] RFC #12201: Replace header(Location:) with t3lib_div::redirect()

Benjamin Mack benni at typo3.org
Fri Feb 19 18:41:37 CET 2010


Hey Steffen,

three things:

  * t3lib_div::redirect() should be t3lib_utility_Http::redirect in all 
the cases.
  * remove the "exit()" in some cases when calling t3lib_div::redirect()
  * t3lib_div::redirect(t3lib_div::locationHeaderUrl($this->action));
  => the locationHeaderUrl part is applied within the redirect function, 
so we don't need this anymore.

Apart from that, +1 after reading.

All the best,
benni.


More information about the TYPO3-team-core mailing list