From: joey Date: Wed, 6 Sep 2006 20:02:12 +0000 (+0000) Subject: escaping fix from Emanuele Aina X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/1f26347379fd646e75302f32cf3411fb09cef5e4 escaping fix from Emanuele Aina --- diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 6e1efbd69..be06db49c 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -81,7 +81,7 @@ sub cgi_recentchanges ($) { #{{{ my $changelog=[rcs_recentchanges(100)]; foreach my $change (@$changelog) { $change->{when} = concise(ago($change->{when})); - $change->{user} = htmllink("", "", $change->{user}, 1); + $change->{user} = htmllink("", "", escapeHTML($change->{user}), 1); $change->{pages} = [ map { $_->{link} = htmllink("", "", $_->{page}, 1); diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl index f927cf62f..726e52f64 100644 --- a/templates/recentchanges.tmpl +++ b/templates/recentchanges.tmpl @@ -30,7 +30,7 @@ - +