--- On Thu, 12/6/08, Gisle Aas <[EMAIL PROTECTED]> wrote:

>On Thu, Jun 12, 2008 at 9:48 AM, Paul Talacko <[EMAIL PROTECTED]>
>wrote:
>> One of the most commonly requested fixes for URI.pm is the ability to
>> generate (and process) query strings separated by ';' rather than
>>'&'.

>This is certainly true.  The problem is that no approach has been
>suggested that is backwards compatible, practical and not too ugly
>yet.

I didn't realise that backwards compatibility was important in this instance!

>Since you changed the tests it's quite obvious that you changed the
>documented behaviour of the method, so this is not a backwards
>compatible change. 

Right.

>But, since so many insist on this I've come up with my own patch for
>this that I think is acceptable.  It adds a $delim parameter to the
>query_form() method which you can set to ";" or "&". 
>If you don't
>provide this parameter the method now looks at the the existing query
>for what delimiter to use, then at the global
>$URI::DEFAULT_QUERY_FORM_DELIMITER and then finally defaults to '&'
>for backwards compatibility. I hope this works for everybody.


Sounds fantastic thank you! 


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

Reply via email to