We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

  1. 08 Mar, 2014 2 commits
  2. 28 Sep, 2013 1 commit
  3. 28 Jun, 2010 2 commits
    • Brion Vibber's avatar
      Enhanced upload file type detection. If given an original filename, we'll... · 9c7b6698
      Brion Vibber authored
      Enhanced upload file type detection. If given an original filename, we'll attempt to detect type from the extension if we were unable to make a definitive match from content. Generic octet-stream, zip, and MS Office type are explicitly singled out for re-checks, which fixes OpenOffice and MS Office documents to come up with the proper types when misdetected.
      File extensions can also be added to the upload type whitelist; they'll be normalized to types for the actual comparison, so only known extensions will work.
      9c7b6698
    • Brion Vibber's avatar
      Test cases for MediaFile::getUploadedFileType() with OpenOffice, MS Office,... · 41d81b99
      Brion Vibber authored
      Test cases for MediaFile::getUploadedFileType() with OpenOffice, MS Office, and PDF sample files (as saved from OpenOffice 3.2)
      Only 3 of 16 cases pass on my dev box with default config. Ouch!
      41d81b99