From 45ffea907944b4a2992b1f9a9265a972543a58f5 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 15 Oct 2012 09:07:50 +0200 Subject: [PATCH] Bug 3652: [SIGNED-OFF] XSS fixes - follow up Fixes a typo in the html filter that causes a problem when using the paging in the OPAC result lists. (forgot to commit my change when testing the original XSS patches) Signed-off-by: Magnus Enger I triggered the error with this query string: /cgi-bin/koha/opac-search.pl?idx=kw&q=o'reilly&offset=40&sort_by=author_az After applying the patch the error is gone. --- .../opac-tmpl/prog/en/includes/page-numbers.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ff9b11c..935d943 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc @@ -1,6 +1,6 @@ [% IF ( PAGE_NUMBERS ) %]
- [% IF ( previous_page_offset ) %]<< Previous[% 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 %]
[% END %] -- 1.7.9.5