diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/de/blinkt/openvpn/VpnProfile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java index 024874a4..27ad783f 100644 --- a/src/de/blinkt/openvpn/VpnProfile.java +++ b/src/de/blinkt/openvpn/VpnProfile.java @@ -121,7 +121,7 @@ public class VpnProfile implements Serializable{ escapedString = escapedString.replace("\"","\\\""); escapedString = escapedString.replace("\n","\\n"); - if (escapedString.equals(unescaped) && !escapedString.contains(" ")) + if (escapedString.equals(unescaped) && !escapedString.contains(" ") && !escapedString.contains("#")) return unescaped; else return '"' + escapedString + '"'; |