← Back to team overview

mahara-contributors team mailing list archive

[Bug 809216] A change has been merged

 

Reviewed:  https://reviews.mahara.org/464
Committed: http://gitorious.org/mahara/mahara/commit/f1f45d31bf5c9ed94e6d5464a2bb017b016b6d5c
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch:    1.4_STABLE

commit f1f45d31bf5c9ed94e6d5464a2bb017b016b6d5c
Author: Francois Marier <francois@xxxxxxxxxxxxxxx>
Date:   Tue Jul 12 22:34:41 2011 +1200

    file_mime_type: increase use of hardcoded magic file (bug #809216)
    
    Mahara's mimetype detection function wasn't working properly and
    so it would not be able to set the right mimetype when a browser
    (typically IE) sets it to a generic value.
    
    The workaround in 821a693c8da162b91b0715eaee771b09d19de601 is not
    sufficient because symlinks, like directories, don't work but the
    is_file() function will resolve them and may return true.
    
      http://nz.php.net/manual/en/function.is-file.php#50742
    
    Change-Id: Ib6eb837fe1f74c762eb8b715d72f4360fe2e6484
    Signed-off-by: Francois Marier <francois@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/809216

Title:
  When uploading a .flv using IE, the mimetype isn't set correctly

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  As described here:

    http://mahara.org/interaction/forum/topic.php?id=3840

  it looks like unless users install a video player that will add a
  mimetype for .flv files, IE will send a generic one (application
  /octet-stream) to Mahara and so the file won't be recognized as a
  video file that can be selected by Mahara.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/809216/+subscriptions


References