From 0870cce03d2da9f60aae0ddd5f15e5baccff96fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rytis=20Slatkevi=C4=8Dius?= Date: Sat, 23 Dec 2006 15:35:49 +0000 Subject: [PATCH] Signature encoding issues svn path=/trunk/boinc/; revision=11719 --- html/inc/text_transform.inc | 6 +++--- html/user/edit_forum_preferences_action.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/inc/text_transform.inc b/html/inc/text_transform.inc index 6ce7114bce..69ed93183e 100644 --- a/html/inc/text_transform.inc +++ b/html/inc/text_transform.inc @@ -68,9 +68,9 @@ function output_transform($text, $options = NULL) { //$text = htmlentities($text); $text = htmlspecialchars($text); } - if ($options->htmlscrub) { - $text = sanitize_html($text); - } +// if ($options->htmlscrub) { +// $text = sanitize_html($text); +// } if ($options->nl2br) { $text = nl2br($text); } diff --git a/html/user/edit_forum_preferences_action.php b/html/user/edit_forum_preferences_action.php index 1c79958d7c..1472b0ec97 100644 --- a/html/user/edit_forum_preferences_action.php +++ b/html/user/edit_forum_preferences_action.php @@ -82,7 +82,7 @@ $user->setLowRatingThreshold($low_rating_threshold); $user->setHighRatingThreshold($high_rating_threshold); // Update the signature for this user -$signature = sanitize_html(stripslashes($_POST["signature"])); +$signature = stripslashes($_POST["signature"]); if (strlen($signature)>250) { error_page("Your signature was too long, please keep it less than 250 chars"); }