Bug #19396 » 9455_v2.diff
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 = 1
|
||
}
|
||
## Use same RTE processing rules in FE
|