* Raised Extbase and Fluid from 1.2.0 to 1.2.1
* Fixed bug #14953: XSS in (new) taskcenter (thanks to Georg Ringer)
* Fixed bug #14978: XSS in file tree (thanks to Georg Ringer)
+ * Fixed bug #13292: TYPO3 error message reveals path to web root (thanks to Xavier Perseguers)
2010-07-27 Steffen Kamper <steffen@typo3.org>
echo 'It seems you are trying to run the TYPO3 source libraries DIRECTLY! You cannot do that.<br />
Please read the installation documents for more information.';
} else {
- echo 'This happens if the last '.strlen(TYPO3_mainDir).' characters of this path, '.$temp_path.' ($temp_path), is NOT "'.TYPO3_mainDir.'" for some reason.<br />
+ $temp_path_parts = explode('/', $temp_path);
+ $temp_path_parts = array_slice($temp_path_parts, count($temp_path_parts) - 3);
+ $temp_path = '..../' . implode('/', $temp_path_parts);
+ echo 'This happens if the last ' . strlen(TYPO3_mainDir) . ' characters of this path, ' . $temp_path . ' (end of $temp_path), is NOT "' . TYPO3_mainDir . '" for some reason.<br />
You may have a strange server configuration.
Or maybe you didn\'t set constant TYPO3_MOD_PATH in your module?';
}