[BUGFIX] Page renderer provides files to compressor incorrectly
authorDmitry Dulepov <dmitry@typo3.org>
Thu, 8 Dec 2011 14:50:45 +0000 (16:50 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Tue, 17 Jan 2012 07:42:44 +0000 (08:42 +0100)
commitf20dfac9ecda485486d8995ce944abbc59470b39
tree0a91ebeb03271a89631937ca072c71cb53c55a2a
parentf99cdff5f5ae9b883e21b7321c7430c07581decb
[BUGFIX] Page renderer provides files to compressor incorrectly

If config.absRefPrefix is set, page renderer provides incorrect
file references to compressor. It prepends absRefPrefix to JS and
CSS file names. This causes two problems: (1) compressor cannot
fetch those files because it always prepends site path to the
file name and (2) compressor fetches local files using HTTP
(performance!). The result is that all default styles from
extensions are missing when compressor is enabled but a
reference to an empty CSS file is added to the page.

Change-Id: I30e58eab1e1ac2f76d2cddb27499e778adb5fc27
Resolves: #32397
Releases: 4.7, 4.6
Reviewed-on: http://review.typo3.org/7165
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/cms/tslib/class.tslib_fe.php
typo3/sysext/cms/tslib/class.tslib_pagegen.php