17483_v1.diff

Administrator Admin, 2011-02-08 20:47

Download (877 Bytes)

View differences:

typo3/sysext/cms/tslib/class.tslib_gifbuilder.php (Arbeitskopie)
718 718
			$meaningfulPrefix = implode('_', array_merge($this->combinedTextStrings, $this->combinedFileNames));
719 719
				// Convert raw string to a nice ASCII-only string without spaces
720 720
			$meaningfulPrefix = $GLOBALS['TSFE']->csConvObj->specCharsToASCII($GLOBALS['TSFE']->renderCharset, $meaningfulPrefix);
721
			$meaningfulPrefix = str_replace(' ', '_', $meaningfulPrefix);
721
			$meaningfulPrefix = preg_replace('/[^a-z0-9$\-_\.\+!\*]/i', '_', $meaningfulPrefix);
722 722
			$meaningfulPrefix = substr($meaningfulPrefix, 0, intval($GLOBALS['TSFE']->config['config']['meaningfulTempFilePrefix'])) . '_';
723 723
		}
724 724