escaping fix from Emanuele Aina
parent
9439a374d0
commit
1f26347379
|
@ -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);
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<TMPL_LOOP NAME="CHANGELOG">
|
||||
<!-- <TMPL_VAR NAME="REV"> -->
|
||||
<tr class="changeinfo">
|
||||
<td class="changeinfo"><TMPL_VAR NAME="USER" ESCAPE="HTML"></td>
|
||||
<td class="changeinfo"><TMPL_VAR NAME="USER"></td>
|
||||
<td class="changetime"><TMPL_VAR NAME="WHEN"></td>
|
||||
<td class="changeinfo">
|
||||
<TMPL_LOOP NAME="PAGES">
|
||||
|
|
Loading…
Reference in New Issue