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

clam av does not find file with accents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.0.5
    • Fix Version/s: None
    • Component/s: Antivirus, General
    • Labels:
      None
    • Database:
      MySQL
    • Workaround:
      Hide

      Be sure your LC_CTYPE is set with a corresponding value, like 'UTF-8' into your OS.

      Show
      Be sure your LC_CTYPE is set with a corresponding value, like 'UTF-8' into your OS.
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      Hi!

      I found in our Moodle 3.0.4 that files with accents do not get analysed due to some effect on accents.

      Last case we found was the following one, when we admins received this email:

      {{
      Clam AV no se ha ejecutado. El mensaje de error de retorno es An error
      occured. Éste es el output de Clam:

      ERROR: Can't access file
      /dades/moodle/data/moodle/localcache/70e7e003-5607-400f-a746-85b3c5199fbc/23b7d0ab-cf33-4723-bd72-c65ed76efc68/DECLOGO
      2 - Nereida Barrikarte Garca.pdf

      ----------- SCAN SUMMARY -----------
      Infected files: 0
      Total errors: 1
      Time: 0.000 sec (0 m 0 s)
      }}

      Looking for this file into the database, I found that the file was named like this: "DEC*Á*LOGO 2 - Nereida Barrikarte Garc*í*a.pdf".

        Attachments

          Activity

            People

            Assignee:
            jpahullo Jordi Pujol-Ahulló
            Reporter:
            jpahullo Jordi Pujol-Ahulló
            Tester:
            Jordi Pujol-Ahulló
            Participants:
            Component watchers:
            Ruslan Kabalin, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: