summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/ConfigParser.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-07-25 15:22:47 +0200
committerArne Schwabe <arne@rfc2549.org>2012-07-25 15:22:47 +0200
commitc3287935914ef81941bc65a6ff9956a074fbc32a (patch)
tree276cdaab8f83e1f6adf4468426ad33b0d3003871 /src/de/blinkt/openvpn/ConfigParser.java
parent2d1ba27de2ed0b477f88ed8cc64fcccd709d8221 (diff)
Fix importing custom options with spaces
Diffstat (limited to 'src/de/blinkt/openvpn/ConfigParser.java')
-rw-r--r--src/de/blinkt/openvpn/ConfigParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java
index f9eac745..c8fb3870 100644
--- a/src/de/blinkt/openvpn/ConfigParser.java
+++ b/src/de/blinkt/openvpn/ConfigParser.java
@@ -472,7 +472,7 @@ public class ConfigParser {
for(Vector<Vector<String>> option:options.values()) {
for(Vector<String> optionsline: option) {
for (String arg : optionsline)
- custom+= arg + " ";
+ custom+= VpnProfile.openVpnEscape(arg) + " ";
}
custom+="\n";