ClamAV quarantine directory should not be a language string
Bug #1607564 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Unassigned |
Bug Description
While looking through Mahara's ClamAV code, I noticed that the name of the directory it tries to store infected files in, is controlled by a translatable language string:
$quarantinedir = get_config(
This is not a good idea, because it means that the location of these files will vary depending on what language packs are installed and what the current user's language setting is! Instead, it should be a hard-coded string or a config setting.
Changed in mahara: | |
assignee: | nobody → Aaron Wells (u-aaronw) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Changed in mahara: | |
status: | Fix Released → Fix Committed |
Changed in mahara: | |
assignee: | Aaron Wells (u-aaronw) → nobody |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/6757