-
2008-01-16
triplezero
Hello,
With IE7 under Windows XP .jpg file upload does not work, Dokuwiki complains about MIME type that does not match filename extension.
In fact .jpg file is sent with MIME type image/pjpeg while Dokuwiki expects image/jpeg
Problem corrected:
* Added some entries in mime.local.conf:
jpg image/pjpeg
jpeg image/pjpeg
* Modified media_contentcheck() in inc/media.php to add:
}elseif($mime == 'image/pjpeg' && $info[2] != 2){
return -1;
Best regards.
-
2008-01-18
andi
I can not reproduce this with a current development version. The mime type sent by the browser is not used in the upload check. Mime types are build by matching the file extension against the list in conf/mimetype.
Can anyone confirm these problems with IE and a current devel version?
-
2008-01-19
ach
I cannot reproduce this either. (Win XP, IE7)
I presume it is not IE or Windows in general, but some weird other thing (software, add-on, etc.) that intercepts!?
-
2008-02-15
andi
no additional feedback given