summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-08-13 13:23:36 +0200
committerArne Schwabe <arne@rfc2549.org>2012-08-13 13:23:36 +0200
commitdbbbc9d008ee9cf51a0ce64c2c1c981ed94dbb15 (patch)
treee95e8a643b31cf452e28ee79b9bc07bfbf99d645
parentf70be66c97bd34e2e351eb9285faa50eec31341d (diff)
Fix authenticating with passwords containing # (Closes issue #68)
-rw-r--r--src/de/blinkt/openvpn/VpnProfile.java2
-rw-r--r--todo.txt12
2 files changed, 12 insertions, 2 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 + '"';
diff --git a/todo.txt b/todo.txt
index e4448c79..056fc8d5 100644
--- a/todo.txt
+++ b/todo.txt
@@ -12,7 +12,17 @@ Ideas:
- Give the notification a nice speed bar
-- map SIGUSR1 to SIGINT
+- The app https://play.google.com/store/apps/details?id=org.proxydroid
+ has a nice feature: auto connect. Run a profile if a specified
+ network
+ is available (a user defined WIFI profile and/or "WIFI/2G/3G" and/or
+ "WIFI" and/or "2G/3G" - selection of more than one network type is
+ possible)
+
+- Copy/Duplicate an existing profile (to create a new one with nearly
+ exact settings)
+
+
Bugfixes:
- startpath file explorer