[BUGFIX] Handle docroot relative paths correctly in ResourceCompressor 80/54880/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 26 Oct 2017 22:30:15 +0000 (00:30 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 29 Nov 2017 22:46:33 +0000 (23:46 +0100)
commitac6519f5f1543279f96b49755f39b443d58c047c
treee90e20c8a67e956aba55f03f98e902f99714d31f
parentb2bd51f9dab5d36756d8e826da8082bc7426608f
[BUGFIX] Handle docroot relative paths correctly in ResourceCompressor

Resolves: #82863
Releases: master, 8.7
Change-Id: Iaf775d83c526017ff882d21c8f6d7c5c1f78a038
Reviewed-on: https://review.typo3.org/54880
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
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]