Bug #19526 ยป 9679.diff
t3lib/class.t3lib_parsehtml_proc.php (working copy) | ||
---|---|---|
$info['query'] = $parameters[0]?'&'.implode('&', $parameters):'';
|
||
}
|
||
} else {
|
||
$info['url']=$info['relUrl'];
|
||
$info['type']='file';
|
||
// It can be a file or an external URL inside the current
|
||
// domain. In case of external URL we must not change it
|
||
// because user had his reasons entering it like this.
|
||
// So we set URL to relative only if it is a file
|
||
if (file_exists(PATH_site . $info['relUrl'])) {
|
||
$info['url'] = $info['relUrl'];
|
||
$info['type'] = 'file';
|
||
}
|
||
}
|
||
} else {
|
||
unset($info['relScriptPath']);
|