From: Thomas Tanghus Date: Mon, 14 Apr 2014 16:21:19 +0000 (+0200) Subject: Added explanation to mimetypes.list.php to avoid future confusion. X-Git-Tag: v7.0.0alpha2~421^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2fb68c120b0b1f9c6d7ed9e3f10d595ffd080ddb;p=nextcloud-server.git Added explanation to mimetypes.list.php to avoid future confusion. --- diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php index cdfd2ec0fdd..07e2391c116 100644 --- a/lib/private/mimetypes.list.php +++ b/lib/private/mimetypes.list.php @@ -22,6 +22,10 @@ /** * Array mapping file extensions to mimetypes (in alphabetical order). + * + * The first index in the mime type array is the assumed correct mimetype + * and the second is either a secure alternative or null if the correct + * is considered secure. */ return array( '7z' => array('application/x-7z-compressed', null),