[geeklog-cvs] Geeklog-SoC: Test commit: Fixed handling of HTML entities in the...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Thu Sep 25 15:11:50 EDT 2008
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/8fce625aa024
changeset: 6278:8fce625aa024
user: Dirk Haun <dirk at haun-online.de>
date: Thu Sep 25 21:11:37 2008 +0200
description:
Test commit: Fixed handling of HTML entities in the Configuration (bug #0000710)
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
system/classes/config.class.php | 2 +-
diffs (12 lines):
diff -r 72a3e46f1cbe -r 8fce625aa024 system/classes/config.class.php
--- a/system/classes/config.class.php Thu Sep 25 12:04:58 2008 +0200
+++ b/system/classes/config.class.php Thu Sep 25 21:11:37 2008 +0200
@@ -602,7 +602,7 @@
$t->set_var('name', $name);
$t->set_var('display_name', $display_name);
if (!is_array($val)) {
- $t->set_var('value', $val);
+ $t->set_var('value', htmlspecialchars($val));
}
if ($deletable) {
$t->set_var('delete', $t->parse('output', 'delete-button'));
More information about the geeklog-cvs
mailing list