Reviewed: https://reviews.mahara.org/3192 Committed: http://gitorious.org/mahara/mahara/commit/e8e2802735356f2f1367508c38bf17274dbc3c4f Submitter: Aaron Wells (<email address hidden>) Branch: 1.9_STABLE
commit e8e2802735356f2f1367508c38bf17274dbc3c4f Author: Aaron Wells <email address hidden> Date: Wed Apr 2 16:41:22 2014 +1300
Pass original filename to file_mime_type()
Bug 1249858: When being called for file uploads, file_mime_type() is getting the PHP temp upload file's filename, and so the attempt to check the file extension is always unsuccessful because those temp file names are gibberish
Change-Id: I631ca8c80316919b6aefc9712b68017d752ba942
Reviewed: https:/ /reviews. mahara. org/3192 gitorious. org/mahara/ mahara/ commit/ e8e2802735356f2 f1367508c38bf17 274dbc3c4f
Committed: http://
Submitter: Aaron Wells (<email address hidden>)
Branch: 1.9_STABLE
commit e8e2802735356f2 f1367508c38bf17 274dbc3c4f
Author: Aaron Wells <email address hidden>
Date: Wed Apr 2 16:41:22 2014 +1300
Pass original filename to file_mime_type()
Bug 1249858: When being called for file uploads, file_mime_type()
is getting the PHP temp upload file's filename, and so the attempt
to check the file extension is always unsuccessful because those
temp file names are gibberish
Change-Id: I631ca8c8031691 9b6aefc9712b680 17d752ba942