Mercurial > hg > batmud > maputils
changeset 822:73107ae46d67
Pass alternative location names through htmlentities().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 19 Sep 2009 03:14:32 +0000 |
parents | abb5ebdf421c |
children | a6d04ac1a210 |
files | www/loc.php |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/www/loc.php Sat Sep 19 02:07:32 2009 +0000 +++ b/www/loc.php Sat Sep 19 03:14:32 2009 +0000 @@ -257,7 +257,7 @@ // Alternative names if (count($iv["names"]) > 0) { - echo "<br />".implode(" | ", $iv["names"]); + echo "<br />".htmlentities(implode(" | ", $iv["names"])); } // Coder / society names