mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fb784af738
See discussion at https://groups.google.com/forum/?fromgroups#!topic/silverstripe-dev/Dodomh9QZjk Fixes an access issue where all public methods on FormField were allowed, and not checked for $allowed_actions. Before this patch you could e.g. call FormField->Value() on the first field by using action_Value. Removes the following assertion because it only worked due to RequestHandlingTest_AllowedControllerExtension *not* having $allowed_extensions declared: "Actions on magic methods are only accessible if explicitly allowed on the controller." |
||
---|---|---|
.. | ||
files | ||
CMSProfileControllerTest.php | ||
CMSProfileControllerTest.yml | ||
ControllerTest.php | ||
ControllerTest.yml | ||
DirectorTest.php | ||
HTTPRequestTest.php | ||
HTTPResponseTest.php | ||
HTTPTest.php | ||
NullHTTPRequestTest.php | ||
PjaxResponseNegotiatorTest.php | ||
RequestHandlingTest.php | ||
SessionTest.php |