From 7f24b0daa76aa22709315ead2417b648d4e7d677 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 9 Oct 2012 14:11:10 +1300 Subject: [PATCH] Bug 3652: XSS vulnerability in page numbering Signed-off-by: Katrin Fischer Confirmed the problem with test plan on the bug and checked that paging works correctly after the patch. Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack Conflicts: koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc Signed-off-by: Jared Camins-Esakov --- koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc b/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc index 1bf914301e..d070db5351 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc @@ -1,7 +1,7 @@ [% IF ( PAGE_NUMBERS ) %]
- [% IF ( previous_page_offset ) %]<< Previous[% END %] - [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %][% PAGE_NUMBER.pg %][% ELSE %] [% PAGE_NUMBER.pg %][% END %] + [% IF ( previous_page_offset ) %]<< Previous[% END %] + [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %][% PAGE_NUMBER.pg %][% ELSE %] [% PAGE_NUMBER.pg %][% END %] [% END %] - [% IF ( next_page_offset ) %]Next >>[% END %] + [% IF ( next_page_offset ) %]Next >>[% END %]
[% END %] -- 2.39.5