[Koha-bugs] [Bug 21950] query_cgi and limit_cgi must not be filtered template-side

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 6 14:06:37 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21950

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
We must not escape query_cgi and limit_cgi template-side, they are already
escape properly from build_query_compat using uri_escape_utf8.

To fix further problems we should replace all occurrences to make things clear
(I decided to keep the html filter so far, which did not hurt, but uri or url
do)

Same patch as the following commit will be provided
commit 2fc599c0893620c395ca0492c9d9e3c860c8f951
    Bug 21526: Fix search result pages (url vs uri vs raw)

    query_cgi is uri_escaped from the pl, so we should displayed as raw

    Test plan:
    Use wide characters ❤
    Search, filter, facets, search history, rss (both interfaces)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list