Project

General

Profile

Bug #19396 » 9455.diff

Administrator Admin, 2009-07-30 15:48

View differences:

t3lib/class.t3lib_parsehtml_proc.php
$uP=parse_url($info['relUrl']);
if (!strcmp('#'.$siteUrl_parts['fragment'],$info['relUrl'])) {
$info['url']=$info['relUrl'];
if ($this->tsConfig['proc.']['preserveExternalURLs'] != 1) {
$info['url']=$info['relUrl'];
}
$info['type']='anchor';
} elseif (!trim($uP['path']) || !strcmp($uP['path'],'index.php')) {
$pp = explode('id=',$uP['query']);
......
$info['query'] = $parameters[0]?'&'.implode('&', $parameters):'';
}
} else {
$info['url']=$info['relUrl'];
if ($this->tsConfig['proc.']['preserveExternalURLs'] != 1) {
$info['url']=$info['relUrl'];
}
$info['type']='file';
}
} else {
typo3/sysext/rtehtmlarea/res/proc/pageTSConfig.txt
## AVOID CONTENT BEING HSC'ed TWICE
htmlSpecialChars = 0
}
## Leave external URLs as set. If set to 0, local URLs will be transformed to relative paths.
preserveExternalURLs = 0
}
## Use same RTE processing rules in FE
(1-1/8)