[BUGFIX] Fix Extension Download with compressionLevel enabled
authorSteffen Gebert <steffen.gebert@typo3.org>
Thu, 24 Mar 2011 21:22:10 +0000 (22:22 +0100)
committerSusanne Moog <typo3@susannemoog.de>
Mon, 28 Mar 2011 19:26:13 +0000 (21:26 +0200)
commiteac9550a177801b655b4760c6cedc04186dc9a89
treeb3202f874cfc0715cb9b167ca5bffc916caa8bf5
parent72808f1fc2a2174405db352ffeb8704668f5b8df
[BUGFIX] Fix Extension Download with compressionLevel enabled

To clear output buffers, the utility function t3lib_div::cleanOutputBuffers()
has to be used. Otherwise things break with compressionLevel enabled.

This change replaces the ob_end_clean() call in the Extension download process,
which did not work, as crap is sent to the user agent.

Change-Id: I078bab66c24d0667b3cd8c2397f26569ed2dbf8d
Resolves: #M18029
Also-Applies: TYPO3_4-5
Reviewed-on: http://review.typo3.org/1264
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
typo3/sysext/em/classes/index.php