From: Michael Andreen Date: Mon, 5 Feb 2007 11:26:41 +0000 (+0000) Subject: escape nick X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;ds=sidebyside;h=67656e7f539b7fd6470ecf6a7653edcf871875bb;p=ndwebbie.git escape nick --- diff --git a/ND/Web/Pages/Intel.pm b/ND/Web/Pages/Intel.pm index 44fbba3..c129d90 100644 --- a/ND/Web/Pages/Intel.pm +++ b/ND/Web/Pages/Intel.pm @@ -155,7 +155,7 @@ sub render_body { if ($planet){ $BODY->param(Coords => $planet->{coords}); $BODY->param(Planet => $planet->{id}); - $BODY->param(Nick => $planet->{nick}); + $BODY->param(Nick => escapeHTML($planet->{nick})); $BODY->param(Channel => $planet->{channel}); my @status; for my $status (" ","Friendly", "NAP", "Hostile"){