Actions
Bug #8257
closedREGEXP Autoloader plugin usages break for integer prefixed folders
Description
If your site is contained in a folder prefixed with 001 (e.g. 001_test) this will cause the autoloader REGEXP to treat the \0 as part of the replace syntax.
AutoLoader::registerExactMap( '%^CB/Plugin/AutoActions/(.+)%i', __DIR__ . '/library/$1.php' );
This would produce the following pathing issues.
ROOT\wwwCB/Plugin/AutoActions/Trigger/AdminTrigger1_test\components\com_comprofiler\plugin\user\plug_cbautoactions/library/Trigger/AdminTrigger.ph
Due to the below replace syntax.
ROOT\www\001_test\components\com_comprofiler\plugin\user\plug_cbautoactions/library/$1.php
Updated by krileon almost 4 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Fixed in MR !1599
Actions