[geeklog-cvs] geeklog-1.3/public_html/admin mail.php,1.25,1.26
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Tue Oct 12 05:41:46 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html/admin
In directory www:/tmp/cvs-serv14772/public_html/admin
Modified Files:
mail.php
Log Message:
Apply htmlspecialchars() on the email addresses before displaying them.
Index: mail.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/mail.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** mail.php 8 Oct 2004 12:36:46 -0000 1.25
--- mail.php 12 Oct 2004 09:41:44 -0000 1.26
***************
*** 179,185 ****
if (!COM_mail ($to, $subject, $message, $from, $html, $priority)) {
! $failures[] = $to;
} else {
! $successes[] = $to;
}
}
--- 179,185 ----
if (!COM_mail ($to, $subject, $message, $from, $html, $priority)) {
! $failures[] = htmlspecialchars ($to);
} else {
! $successes[] = htmlspecialchars ($to);
}
}
More information about the geeklog-cvs
mailing list