Comment 3 for bug 829136

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/678
Committed: http://gitorious.org/mahara/mahara/commit/7860521576e2aa6cda3c9dfadc6efea48866a461
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 7860521576e2aa6cda3c9dfadc6efea48866a461
Author: Richard Mansfield <email address hidden>
Date: Mon Sep 12 12:48:13 2011 +1200

    Stop unknown file types being detected as audio files (bug #829136)

    Commit d644694205 created a new audio file type with a list of indexes
    into the mimetype table for audio mimetypes. However, the numeric keys
    of the 'descriptions' array were being used to fetch audio mimetpes
    instead of the values, which resulted in files with undetected
    'application/octet-stream' mimetypes becoming audio artefacts after
    upload.

    Change-Id: I418fc8b864088269fcddcffcb56346e8f9bb78ee
    Signed-off-by: Richard Mansfield <email address hidden>