mirror of https://github.com/BOINC/boinc.git
Remove extra slashes when using PM preview
svn path=/trunk/boinc/; revision=13578
This commit is contained in:
parent
34a31a2827
commit
27cb39ca5a
|
@ -50,10 +50,11 @@ function pm_create_new($error = null) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$writeto = post_str("to", true);
|
$writeto = post_str("to", true);
|
||||||
$subject = post_str("subject", true);
|
$subject = stripslashes(post_str("subject", true));
|
||||||
$content = post_str("content", true);
|
$content = stripslashes(post_str("content", true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$content = htmlspecialchars($content);
|
||||||
$subject = htmlspecialchars($subject);
|
$subject = htmlspecialchars($subject);
|
||||||
|
|
||||||
if ($error != null) {
|
if ($error != null) {
|
||||||
|
|
Loading…
Reference in New Issue