Subject: | New-style URIs for query parameters |
Recent versions of the CGI module default to 'new-style URIs' where
query parameters are separated with ; instead of &. The URI module
should have an option to do the same, even if it is not on by default.
Arguably the bug is with CGI, that it should be using URI instead of its
own code, but in either case an enhancement to URI is needed.
From the perldoc:
$uri->query_form( \%hash )
Sets and returns query components that use the applica-
tion/x-www-form-urlencoded format. Key/value pairs are separated
by "&", and the key is separated from the value by a "=" character.
With this proposed feature it would say that key/value pairs are
separated by "&", or by ";" if the newstyle_uris option is set.