diff --git a/app/src/main/java/com/github/shadowsocks/plugin/gost/ConfigActivity.java b/app/src/main/java/com/github/shadowsocks/plugin/gost/ConfigActivity.java index 5c81db3..685a394 100644 --- a/app/src/main/java/com/github/shadowsocks/plugin/gost/ConfigActivity.java +++ b/app/src/main/java/com/github/shadowsocks/plugin/gost/ConfigActivity.java @@ -406,7 +406,8 @@ private void saveUI() throws NullPointerException, JSONException { arg = arg.substring(1, arg.length() - 1); arg = arg.replaceAll(Matcher.quoteReplacement("\\\""), "\""); arg = arg.replaceAll("\"", Matcher.quoteReplacement("\\\"")); - oneOrTwoArgs.put("\"" + arg + "\""); + // oneOrTwoArgs.put("\"" + arg + "\""); // adding quotes leads to crash + oneOrTwoArgs.put(arg); } allArgs.put(oneOrTwoArgs); } diff --git a/gost b/gost index 66d16ac..50927e2 160000 --- a/gost +++ b/gost @@ -1 +1 @@ -Subproject commit 66d16ac6ab3bf9005073789f87cca474a7d3f793 +Subproject commit 50927e28d4927230c6eb2ec934d1fe21e95a7629