From: Chris Cormack Date: Tue, 9 Oct 2012 01:19:18 +0000 (+1300) Subject: Bug 3652 XSS vulnerability in facets X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=a4bf495f3b7763059d6ceab2001fbf07313ca00d;p=koha.git Bug 3652 XSS vulnerability in facets Signed-off-by: Katrin Fischer Confirmed bug with test plan on the bug and checked that problem is fixed after applying the patch and that facets still work. --- diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc index 082f8466ea..07cdd3b0b0 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc @@ -3,7 +3,7 @@

Refine your search

    -
  • Availability +
  • Availability [% IF ( related ) %]
  • (related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %])
  • [% END %] @@ -20,8 +20,8 @@ [% END %] [% IF ( facets_loo.type_label_Location ) %]Locations[% END %]
      - [% FOREACH facet IN facets_loo.facets %]
    • [% facet.facet_label_value %] [% IF ( displayFacetCount ) %]([% facet.facet_count %])[% END %]
    • [% END %][% IF ( facets_loo.expandable ) %] -
    • Show more
    • + [% FOREACH facet IN facets_loo.facets %]
    • [% facet.facet_label_value %] [% IF ( displayFacetCount ) %]([% facet.facet_count %])[% END %]
    • [% END %][% IF ( facets_loo.expandable ) %] +
    • Show more
    • [% END %]
    [% END %]