[Koha-bugs] [Bug 13812] Facet links broken because double-quotes are not URL encoded.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 6 14:58:16 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13812

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 37528
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37528&action=edit
Bug 13812 - Facet links broken because double-quotes are not URL encoded.

This bug is analogous to Bug 13442, but it affects shelf location rather than
collection code:

Limiting a search by shelf location is broken, because it wraps double-quotes
around the "value" part of the key-value pair in the URL. This breaks the href=
part of the anchor tag.

The anchor tag generated for the shelf location faced is

<a
href="/cgi-bin/koha/opac-search.pl?&limit=mc-loc%3A"100100ADFICCF"&limit=mc-loc%3A"100200ADFIC"&limit=mc-loc%3A"100250ADFICGN"&limit=mc-loc%3A"100300ADFICHF"&limit=yr%2Cst-numeric%3D2014-&sort_by=acqdate_dsc&limit=au:Paetro%2C%20Maxine%2C"
title="Paetro, Maxine,">Paetro, Maxine,</a>

Once again, double-quotes inside the URL are causing a premature close of the
href, which results in a broken link.

http://bugs.koha-community.org/show_bug.cgi?id=13821

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


More information about the Koha-bugs mailing list