-
Task
-
Resolution: Unresolved
-
Minor
-
None
-
2.7.5, 2.8.3, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
Till now it always have been required (and it's present as #1 in my WS review cheatsheet) to verify that validate_parameters() is present it the execution of the function and that, only validated params are used along the function body.
But here, while reviewing a function fix eagle-eye dmonllao realised that webservice_base_server->execute() method always perform a validate_parameters() call before invoking the function.
So the question is... why have been always requiring the explicit validation since the born of the webservices when it's already performed automagically? Is there any case where that's not happening?
Welcome, ciao
- has been marked as being related by
-
MDL-49240 Webservice core_get_string does not work (and has never worked)
-
- Closed
-