[TYPO3-core] RFC: fix for bug #2592
Wolfgang Klinger
wolfgang at stufenlos.net
Mon Feb 20 13:04:21 CET 2006
*hiya!*
Type: bugfix
Page type "External URL" causes an error (PHP header warning)
BT reference: http://bugs.typo3.org/view.php?id=2592
This bug is caused by changes of "stanrolland" on Feb 10 17:09:34,
so please Stanislas take an indepth look at it.
(http://cvs.sourceforge.net/viewcvs.py/typo3/TYPO3core/typo3/sysext/cms/tslib/class.tslib_fe.php?r1=1.104.2.8&r2=1.104.2.9)
tia, bye
Wolfgang
-------------- next part --------------
--- TYPO3core/typo3/sysext/cms/tslib/class.tslib_fe.php 2006-02-20 12:33:02.000000000 +0100
+++ TYPO3core_testing/typo3/sysext/cms/tslib/class.tslib_fe.php 2006-02-20 12:51:53.000000000 +0100
@@ -2113,6 +2113,9 @@
* @return void
*/
function checkJumpUrl() {
+ if ($extUrl = $this->sys_page->getExtURL($this->page, $this->config['config']['disablePageExternalUrl'])) {
+ $this->jumpurl = $extUrl;
+ }
if (strcmp($this->jumpurl,'') && !$this->TYPO3_CONF_VARS['SYS']['doNotCheckReferer']) {
$referer = parse_url(t3lib_div::getIndpEnv('HTTP_REFERER'));
if (!( $referer['host'] == t3lib_div::getIndpEnv('TYPO3_HOST_ONLY'))) {
More information about the TYPO3-team-core
mailing list