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

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Wed Jul 15 11:02:47 CEST 2009


Le Wed, 8 Jul 2009 10:52:37 -0400,
Joe Atzberger <joe.atzberger at liblime.com> a écrit :

> -        my
> > $link="../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_210c.pl&amp;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&amp;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 "&amp;", meaning that we're going to mess
> have illegal characters if we don't escape it, and malformed queries
> if we do.
> 

You're right, I just sent a new one.

-- 
Nahuel ANGELINETTI




More information about the Koha-patches mailing list