summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-07-29 23:29:29 +0200
committerBenny Baumann <BenBE@geshi.org>2014-07-29 23:29:29 +0200
commit32ea5681395b51dfab4c8bb7992e388af54657cd (patch)
tree5ed7ebfbd73a7938747332cb8079ecd89a574c4c
parent0175ca335a0fb83a33cf15eed4347e5336ec0175 (diff)
parentb2f8a5d29ed0d35b53e71efc11ff7db1ce4308ae (diff)
downloadcacert-devel-32ea5681395b51dfab4c8bb7992e388af54657cd.tar.gz
cacert-devel-32ea5681395b51dfab4c8bb7992e388af54657cd.tar.xz
cacert-devel-32ea5681395b51dfab4c8bb7992e388af54657cd.zip
Merge branch 'bug-1291' into testserver-stable
-rw-r--r--www/wot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/wot.php b/www/wot.php
index 46db16f..cc8986c 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -326,7 +326,7 @@ function send_reminder()
$query = "select * from `users` where `id`='".intval($_SESSION['_config']['notarise']['id'])."'";
$res = mysql_query($query);
$row = mysql_fetch_assoc($res);
- $name = $row['fname']." ".$row['mname']." ".$row['lname']." ".$row['suffix'];
+ $name = sanitizeHTML($row['fname'])." ".sanitizeHTML($row['mname'])." ".sanitizeHTML($row['lname'])." ".sanitizeHTML($row['suffix']);
if($_SESSION['_config']['wothash'] != md5($name."-".$row['dob']) || $_SESSION['_config']['wothash'] != $_REQUEST['pagehash'])
{
show_page("VerifyData","",_("Race condition discovered, user altered details during assurance procedure. PLEASE MAKE SURE THE NEW DETAILS BELOW MATCH THE ID DOCUMENTS."));