From: Katrin Fischer Date: Mon, 15 Oct 2012 07:07:50 +0000 (+0200) Subject: Bug 3652: [SIGNED-OFF] XSS fixes - follow up X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=ac66d224add7324d08b0bdf86d1574e401280e41;p=koha.git 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. Signed-off-by: Paul Poulain --- 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 ff9b11c55c..935d943970 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 %]