Bug #24956 ยป 17483_v1.diff
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php (Arbeitskopie) | ||
---|---|---|
$meaningfulPrefix = implode('_', array_merge($this->combinedTextStrings, $this->combinedFileNames));
|
||
// Convert raw string to a nice ASCII-only string without spaces
|
||
$meaningfulPrefix = $GLOBALS['TSFE']->csConvObj->specCharsToASCII($GLOBALS['TSFE']->renderCharset, $meaningfulPrefix);
|
||
$meaningfulPrefix = str_replace(' ', '_', $meaningfulPrefix);
|
||
$meaningfulPrefix = preg_replace('/[^a-z0-9$\-_\.\+!\*]/i', '_', $meaningfulPrefix);
|
||
$meaningfulPrefix = substr($meaningfulPrefix, 0, intval($GLOBALS['TSFE']->config['config']['meaningfulTempFilePrefix'])) . '_';
|
||
}
|
||