[BUGFIX] Handle docroot relative paths correctly in ResourceCompressor 81/54481/7
authorMarkus Klein <markus.klein@typo3.org>
Thu, 26 Oct 2017 22:30:15 +0000 (00:30 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Wed, 29 Nov 2017 22:29:14 +0000 (23:29 +0100)
commitc33288e5a5ec913e761b5f59dea8068b0a626873
tree560728b1d0e7d17549ec8797ba137011d2880b79
parente096754a699db509da5b4307378148886a9aecad
[BUGFIX] Handle docroot relative paths correctly in ResourceCompressor

Resolves: #82863
Releases: master, 8.7
Change-Id: Iaf775d83c526017ff882d21c8f6d7c5c1f78a038
Reviewed-on: https://review.typo3.org/54481
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/core/Classes/Resource/ResourceCompressor.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorIntegrationTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/TestableResourceCompressor.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/expected/merged-css_input_with_import.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/expected/merged-css_input_with_import_non_root.css [new file with mode: 0644]