summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/de/blinkt/openvpn/fragments/VPNProfileList.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/fragments/VPNProfileList.java b/src/de/blinkt/openvpn/fragments/VPNProfileList.java
index 866aea25..1fd875b0 100644
--- a/src/de/blinkt/openvpn/fragments/VPNProfileList.java
+++ b/src/de/blinkt/openvpn/fragments/VPNProfileList.java
@@ -233,6 +233,11 @@ public class VPNProfileList extends ListFragment {
supportedMimeTypes.add("application/openvpn-profile");
supportedMimeTypes.add("application/ovpn");
+
+ // Webservers unfortunately report this for .conf files sometimes
+ supportedMimeTypes.add("text/plain");
+ supportedMimeTypes.add("application/conf");
+
MimeTypeMap mtm = MimeTypeMap.getSingleton();
for(String ext: new String[] {"ovpn", "conf"}) {