Bug #21544 » 0012581.patch
t3lib/class.t3lib_div.php (Arbeitskopie) | ||
---|---|---|
);
|
||
// Pass if URL is on the current host:
|
||
if (self::isValidUrl($decodedUrl)) {
|
||
if (self::isValidUrl($decodedUrl) && preg_match('#^[a-z0-9]+://#', $decodedUrl)) {
|
||
if (self::isOnCurrentHost($decodedUrl) && strpos($decodedUrl, self::getIndpEnv('TYPO3_SITE_URL')) === 0) {
|
||
$sanitizedUrl = $url;
|
||
}
|