summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-17 09:58:53 +0200
committerPatrick Simianer <p@simianer.de>2016-06-17 09:58:53 +0200
commit550748d07cb660c28d28e41eee256b3371d4ce62 (patch)
treed5236c6291806c1c3e4478d6d8cc738ddb1785a9 /js
parentabcae4f39145863b4861588f885991b6dac662aa (diff)
parent27236ad14a621864475dc20cf882624d254b5dc9 (diff)
Merge branch 'master' of github.com:pks/lfpe
Diffstat (limited to 'js')
-rw-r--r--js/interface.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/interface.js b/js/interface.js
index b86bf50..089f417 100644
--- a/js/interface.js
+++ b/js/interface.js
@@ -286,7 +286,7 @@ var next = function ()
}
send_data["key"] = key;
- send_data["name"] = $("#name").val();
+ send_data["name"] = encodeURIComponent($("#name").val().replace(/"/g, ' ').trim());
// send data
if (oov_correct.value=="false" && post_edit != "") {