Quotes in mime type when uploading |
[eluser]Michael DOUBEZ[/eluser]
Hello, When trying to upload a file, the mime type is not recognized because of quotes under FF3 (itworks under IE). I have already filled a bug report: http://codeigniter.com/bug_tracker/bug/p...under_ff3/ And I have been prompted by Derek Allard to start this thread. To illustrate the problem, I have setup a pristine Code Igniter 1.6.2 on http://michael.doubez.free.fr/index.php/test The test is trying to upload a file with .bin extension with FF3. The controller used (more or less) is: http://michael.doubez.free.fr/test.txt The output of: echo $this->upload->display_errors(); echo ol($this->upload->data()); is <<< The filetype you are attempting to upload is not allowed. 1. test.bin 2. "application/octet-stream" ... >>W See the quotes in the mime type reporting. Note: I have changed my mimes.php file 'bin' => 'application/octet-stream', Cheers |
Messages In This Thread |
Quotes in mime type when uploading - by El Forum - 07-23-2008, 07:52 AM
Quotes in mime type when uploading - by El Forum - 07-23-2008, 08:07 PM
Quotes in mime type when uploading - by El Forum - 07-24-2008, 01:14 AM
Quotes in mime type when uploading - by El Forum - 07-24-2008, 05:42 AM
Quotes in mime type when uploading - by El Forum - 07-24-2008, 06:10 AM
Quotes in mime type when uploading - by El Forum - 07-24-2008, 06:12 AM
Quotes in mime type when uploading - by El Forum - 03-27-2009, 02:30 AM
Quotes in mime type when uploading - by El Forum - 03-27-2009, 02:57 AM
Quotes in mime type when uploading - by El Forum - 05-20-2009, 02:50 PM
Quotes in mime type when uploading - by El Forum - 07-27-2009, 09:46 AM
Quotes in mime type when uploading - by El Forum - 04-12-2010, 12:01 PM
|