Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50907

Antivirus: Implement antiviruses_scan_data function to scan data stream.


      We already have antiviruses_scan_file (MDL-50887) 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.

      This function potentially could be used to scan html data submitted by users to avoid issues similar to MDL-47625.

            kabalin Ruslan Kabalin
            kabalin Ruslan Kabalin
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            3 Vote for this issue
            7 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.