mirror of https://github.com/BOINC/boinc.git
- web: fix XSS vulnerability
svn path=/trunk/boinc/; revision=22470
This commit is contained in:
parent
dce95aa1d0
commit
f3a382154b
|
@ -7163,3 +7163,9 @@ David 7 Oct 2010
|
|||
client/
|
||||
log_flags.cpp,h
|
||||
cs_scheduler.cpp
|
||||
|
||||
David 7 Oct 2010
|
||||
- web: fix XSS vulnerability
|
||||
|
||||
html/inc/
|
||||
pm.inc
|
||||
|
|
|
@ -66,7 +66,7 @@ function pm_form($error = null) {
|
|||
$writeto = $userid." (".$user->name.")";
|
||||
}
|
||||
} else {
|
||||
$writeto = post_str("to", true);
|
||||
$writeto = sanitize_tags(post_str("to", true));
|
||||
$subject = post_str("subject", true);
|
||||
$content = post_str("content", true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue