From 1caaff9308b44ded73a3dd8e324613d05e4dc614 Mon Sep 17 00:00:00 2001 From: Wikinaut Date: Sat, 18 Feb 2012 14:35:28 +0100 Subject: [PATCH] fix for issue 461 : pad.js : use decodeURIComponent(userName) - instead of unescape(userName) - to allow UTF-8 encoded parameter username --- static/js/pad.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pad.js b/static/js/pad.js index eb480080f..537ebed23 100644 --- a/static/js/pad.js +++ b/static/js/pad.js @@ -103,7 +103,7 @@ function getParams() if(userName) { // If the username is set as a parameter we should set a global value that we can call once we have initiated the pad. - settings.globalUserName = unescape(userName); + settings.globalUserName = decodeURIComponent(userName); } if(hideQRCode) {