B #5545: Image not decompressed on upload (#569)

This commit is contained in:
Vlastimil Holer authored and Ruben S. Montero committed 2017-11-13 16:07:38 +01:00
1 parent b9b272f00f
commit 23e57de80a
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ function get_type
else
command=$1
( $command | head -n 1024 | file -b --mime-type - ) 2>/dev/null
( eval "$command" | head -n 1024 | file -b --mime-type - ) 2>/dev/null
fi
}