-
Improvement
-
Resolution: Fixed
-
Minor
-
3.0, 3.5
-
MOODLE_30_STABLE, MOODLE_35_STABLE
-
MOODLE_35_STABLE
-
MDL-50907-master -
We already have antiviruses_scan_file () function designed to scan file. It worth creating a separate function to scan data (stored in variable value). While for command-line running mode it would still need to be stored in the file first (similar to what is done here but in the ClamAV plugin level), unix-socket running mode gives possibility to scan data directly using INSTREAM command.MDL-50887
This function potentially could be used to scan html data submitted by users to avoid issues similar to MDL-47625.