Project

General

Profile

Bug #21544 » 0012581.patch

Administrator Admin, 2009-11-24 15:45

View differences:

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;
}
(1-1/2)