From 976f39b037da067ec24ad507e03434702a80e4ba Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Tue, 25 Mar 2008 12:22:18 +0000 Subject: [PATCH] use decodeURIComponent to decode sluser cookie --- templates/basicset/page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/basicset/page.js b/templates/basicset/page.js index 00aeebf..53574db 100644 --- a/templates/basicset/page.js +++ b/templates/basicset/page.js @@ -14,7 +14,7 @@ function getUserName() { if (end == -1) end=cookietext.length; var value= cookietext.substring(start,end); forumUser = value; - return unescape(value); + return decodeURIComponent(value); } // // Шаблон страницы содержит два специальных тэга link с rel=forum-script -- 2.39.5