Feature #15736 » bug_2714_v4.diff
t3lib/class.t3lib_parsehtml_proc.php (Arbeitskopie) | ||
---|---|---|
$info['url']=$info['relUrl'];
|
||
$info['type']='anchor';
|
||
} elseif (!trim($uP['path']) || !strcmp($uP['path'],'index.php')) {
|
||
$pp = explode('id=',$uP['query']);
|
||
$id = trim($pp[1]);
|
||
if ($id) {
|
||
if (preg_match('/id=([^&]+)$/', $uP['query'], $pp)) {
|
||
$id = trim($pp[1]);
|
||
$info['pageid']=$id;
|
||
$info['cElement']=$uP['fragment'];
|
||
$info['url']=$id.($info['cElement']?'#'.$info['cElement']:'');
|
||
$info['type']='page';
|
||
} else {
|
||
// If the site contains additional parameters (&), treat it like an external URL
|
||
unset($info['relScriptPath']);
|
||
unset($info['relUrl']);
|
||
}
|
||
} else {
|
||
$info['url']=$info['relUrl'];
|