Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.0-b1
-
Fix Version/s: 4.0.0-b4
-
Component/s: Plugins, Staff Interface
-
Labels:None
Description
Accessing a URL like ~/blesta/plugins/dstsh will return an error, disclosing the system path to ~/vendors/minphp/bridge/src/Lib/Dispatcher.php.
Fatal error: Call to undefined method Plugins::preAction() in /var/www/public/blesta/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php on line 134
Undefined variable: e
Instead it should return a 404 error, similar to Blesta 3.x.
Originally reported here - https://www.blesta.com/forums/index.php?/topic/7493-calling-an-existing-plugin-url-return-error/