Bug in URI ?!

David Dorward david at dorward.me.uk
Tue Aug 15 23:14:08 BST 2006


Paul Makepeace wrote:
> URI::_query::query_form() which makes query strings:
> 
>  $self->query(@query ? join('&', @query) : undef);
> 
> Now as anyone in web standards knows, that ought to be '&'.

Only if the URI is being written in HTML. Since, to judge from the
module name, it is just a URL there shouldn't be any markup language
specific encoding going on. Once you have the URI you should run it
though a suitable encoding method before using it in markup though.

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                     Home is where the ~/.bashrc is


More information about the london.pm mailing list