Issue Bug Closed

#50815t3lib_compressor doesn't fully sanitize filepath

Markus Martens 08/06/13, 12:53 updated 03/28/16, 21:58

Description

Core: Error handler (FE): PHP Warning: 
filesize() [<a href='function.filesize'>function.filesize</a>]: 
stat failed for /kunden/305566_22529/webseiten/t3dekom/http://www.dekom.com/typo3temp/stylesheet_fad97d0aa7.css 
in /kunden/305566_22529/webseiten/typo3_src-4.6.3/t3lib/class.t3lib_compressor.php line 295
Core: Error handler (FE): PHP Warning: 
filemtime() [<a href='function.filemtime'>function.filemtime</a>]: 
stat failed for /kunden/305566_22529/webseiten/t3dekom/http://www.dekom.com/typo3temp/stylesheet_fad97d0aa7.css 
in /kunden/305566_22529/webseiten/typo3_src-4.6.3/t3lib/class.t3lib_compressor.php line 295

Looks like filename contains domain (absRefPrefix?) which isn’t recognized before concatenation in class.t3lib_compressor.php:294 …

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.