From: Victor Wagner Date: Tue, 25 Mar 2008 12:22:18 +0000 (+0000) Subject: use decodeURIComponent to decode sluser cookie X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=976f39b037da067ec24ad507e03434702a80e4ba;p=oss%2Fstilllife.git use decodeURIComponent to decode sluser cookie --- 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