summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2014-04-14 18:21:19 +0200
committerThomas Tanghus <thomas@tanghus.net>2014-04-14 18:21:19 +0200
commit2fb68c120b0b1f9c6d7ed9e3f10d595ffd080ddb (patch)
treee4fc16de4cd1dec1ef8928f2538d261da4bd6819 /lib
parent51e47319ef2ab37d458dc96ba33a26bb851102be (diff)
downloadnextcloud-server-2fb68c120b0b1f9c6d7ed9e3f10d595ffd080ddb.tar.gz
nextcloud-server-2fb68c120b0b1f9c6d7ed9e3f10d595ffd080ddb.zip
Added explanation to mimetypes.list.php to avoid future confusion.
Diffstat (limited to 'lib')
-rw-r--r--lib/private/mimetypes.list.php4
1 files changed, 4 insertions, 0 deletions
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),