Hello,
Under Linux JPEG files have the MIME type of 'image/jpeg', and XML files have the type of 'application/xml'. The MIME type check of uploaded files does not cater for these, so uploading JPEG images or importing projects (which contain XML files) fail. The patch for this is:
--- plugins/file_uploading-mimetype.php.orig 2015-07-29 23:17:23.000000000 +0100
+++ plugins/file_uploading-mimetype.php 2015-08-20 10:44:04.389654926 +0100
@@ -53,6 +53,7 @@
'text/xml',
'image/jpg',
+ 'image/jpeg',
'image/png',
'image/bmp',
'image/gif',
@@ -72,6 +73,7 @@
'application/msword',
'application/vnd.ms-powerpoint', // ??
'application/pdf',
+ 'application/xml',
'text/rtf',
// add other 'permissible' formats here.
);