[Koha-patches] [PATCH] (bug #3398) fix unimarc 210c plugin

Joe Atzberger joe.atzberger at liblime.com
Wed Jul 8 16:52:37 CEST 2009


-        my
> $link="../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_210c.pl&authtypecode=EDITORS&and_or=and&operator=contains&".join("&",map
> {"value=".$_} @value)."&op=do_search&type=intranet&index=$index";
> +        my
> $link="../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_210c.pl&authtypecode=EDITORS&and_or=$and_or&marclist=$marclist&operator=$operator&orderby=$orderby&excluding=$excluding&".join("&",map
> {"value=".$_} @value)."&op=do_search&type=intranet&index=$index";


We need to decide whether we are escaping & here or in the template.  Right
now, we mix "&" and "&", meaning that we're going to mess have illegal
characters if we don't escape it, and malformed queries if we do.

-- 
Joe Atzberger
LibLime - Open Source Library Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20090708/c62b80e0/attachment-0002.htm>


More information about the Koha-patches mailing list