TYPO3 / CmsComposerInstallers

TYPO3 CMS Composer Installer
GNU General Public License v2.0
58 stars 39 forks source link

[BUGFIX] Remove leading forward slash when checking for ext_emconf.php #9

Closed cgerold closed 9 years ago

cgerold commented 9 years ago

Sometimes the ext_emconf.php file extracted from the T3X stream contains a leading forward slash. Check if file ext_emconf.php has a leading forward slash when creating the MD5 array. Otherwise the ext_emconf.php is included in MD5 hash.

cgerold commented 9 years ago

any news about this?

sascha-egerer commented 9 years ago

Any progress here?

helhum commented 9 years ago

Sometimes the ext_emconf.php file extracted from the T3X stream contains a leading forward slash.

Hm. When is sometimes? Can we change code in a different place to have the slash removed there?

How can I reproduce this?

cgerold commented 9 years ago

Add the following TYPO3 extensions to your composer file:

Run composer.phar status --no-interaction

Should output

You have changes in the following dependencies: typo3conf/ext/flux typo3conf/ext/fluidcontent`

helhum commented 9 years ago

Hm, ok. Not nice that the FILES array can contain file names like that, but we can't really do something about it. :-/