5 Replies Latest reply on Jan 3, 2013 9:54 AM by WolfShade

    CF9 cffile upload and mimetypes

    WolfShade Level 4

      Hello, everyone.


      According to the CFML Ref for CFFILE/UPLOAD, "The browser uses the file extension to determine file type."


      We all know that this isn't the most secure way of determining a file mimetype.  Has anyone discovered or invented a way to have CF Server actually look at the code of the file being uploaded to determine the mimetype?