mirror of https://github.com/BOINC/boinc.git
Signature encoding issues
svn path=/trunk/boinc/; revision=11719
This commit is contained in:
parent
eedd0db6c9
commit
0870cce03d
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue