From: Frère Sébastien Marie Date: Wed, 27 Jul 2011 19:04:11 +0000 (-0500) Subject: Bug 6632 [Signed Off] add html filter to prevent XSS X-Git-Tag: v3.06.00~429 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=1124bf682f9fa5cd0fd3319bdcd0dd168ae2e08b;p=koha_fer Bug 6632 [Signed Off] add html filter to prevent XSS The filter 'html' have been added on all occurences of shelvename, which come from user input. http://bugs.koha-community.org/show_bug.cgi?id=6632 Signed-off-by: Liz Rea Signed-off-by: Chris Cormack --- diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index 103757c736..3e2b3d9ff2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -1,5 +1,5 @@ [% INCLUDE 'doc-head-open.inc' %] -Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname %][% ELSE %]Lists[% END %][% IF ( shelves ) %] › Create New List[% END %][% IF ( edit ) %] › Edit List [% shelfname %][% END %] +Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname | html %][% ELSE %]Lists[% END %][% IF ( shelves ) %] › Create New List[% END %][% IF ( edit ) %] › Edit List [% shelfname | html %][% END %] [% INCLUDE 'doc-head-close.inc' %]