summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/mimetypelist.js2
-rw-r--r--resources/config/mimetypealiases.dist.json1
2 files changed, 2 insertions, 1 deletions
diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js
index 07ae0efee0a..b0104b50bef 100644
--- a/core/js/mimetypelist.js
+++ b/core/js/mimetypelist.js
@@ -90,8 +90,8 @@ OC.MimeTypeList={
"text/x-c": "text/code",
"text/x-c++src": "text/code",
"text/x-h": "text/code",
- "text/x-ldif": "text/code",
"text/x-java-source": "text/code",
+ "text/x-ldif": "text/code",
"text/x-python": "text/code",
"text/x-shellscript": "text/code",
"web": "text/code"
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json
index daf75453dc8..2c2ea28059c 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -91,6 +91,7 @@
"text/x-c++src": "text/code",
"text/x-h": "text/code",
"text/x-java-source": "text/code",
+ "text/x-ldif": "text/code",
"text/x-python": "text/code",
"text/x-shellscript": "text/code",
"web": "text/code"