From 8bc7ad4383452b2a3872aea3ef7c3eaef675af3b Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 14 Nov 2008 14:38:55 +0000 Subject: Bug fix: correct XSS problems (prevent username with non-alphanumeric characters, protect profile page) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@157 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/editprofile.tpl.php | 2 +- templates/profile.tpl.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/editprofile.tpl.php b/templates/editprofile.tpl.php index c9eb8a4..a38dbd8 100644 --- a/templates/editprofile.tpl.php +++ b/templates/editprofile.tpl.php @@ -40,7 +40,7 @@ $this->includeTemplate($GLOBALS['top_include']); - + diff --git a/templates/profile.tpl.php b/templates/profile.tpl.php index d7ace7e..ecfadbb 100644 --- a/templates/profile.tpl.php +++ b/templates/profile.tpl.php @@ -10,13 +10,13 @@ $this->includeTemplate($GLOBALS['top_include']); if ($row['name'] != "") { ?>
-
+
-
+
-- cgit v1.2.3