Malformatted ext_emconf.php served for extension realurl by TER
Summary
The TER release of extension realurl is serving a malformatted ext_emconf.php file containing invalid PHP code within the ZIP download and the Composer typo3-ter mirror. This is known by the extension author. But his code looks fine which can be verified inside his Github repo. He is stating that this file is generated on the fly for each release by the TER. Therefore the fix should be done here.
Steps to reproduce
Go to https://extensions.typo3.org/extension/realurl/, download release 2.6.1 (latest), unzip the file, open ext_emconf.php and see the malformatted PHP file.
Example URL
https://extensions.typo3.org/extension/download/realurl/2.6.1/zip/ https://github.com/dmitryd/typo3-realurl/blob/development/ext_emconf.php#L12
What is the current bug behavior?
The ext_emconf.php file served for extension realurl by TER is not valid PHP anymore, the values of array keys which contain strings, e.g. title
, are missing their closing single quotes:
$EM_CONF[$_EXTKEY] = array(
'title' => 'Speaking URLs for TYPO3,
'description' => 'Makes TYPO3 URLs search engine friendly. Donations are welcome to dmitry.dulepov@gmail.com. They help to support the extension!,
'category' => 'services,
'shy' => 1,
'version' => '2.6.1,
'priority' => ',
'loadOrder' => ',
'module' => ',
'state' => 'stable,
'uploadfolder' => 1,
'createDirs' => ',
'modify_tables' => 'pages,pages_language_overlay,
'clearcacheonload' => 1,
'lockType' => ',
'author' => 'Dmitry Dulepov,
'author_email' => 'dmitry.dulepov@gmail.com,
'author_company' => ',
'CGLcompliance' => ',
'CGLcompliance_note' => ',
'constraints' => array(
'depends' => array(
'typo3' => '6.2.0-8.9.999,
'php' => '5.4.0-7.3.999,
'scheduler' => '6.2.0-8.9.999,
),
'conflicts' => array(
'cooluri' => ',
'simulatestatic' => ',
),
),
);
What is the expected correct behavior?
Serve a well formatted ext_emconf.php file containing valid PHP for extension realurl by TER
Acceptence Criterias
-
Serve well formatted ext_emconf.php and make realurl relase usable again
Relevant logs and/or screenshots
Bug report from realurl Github repo: https://github.com/dmitryd/typo3-realurl/issues/681