[plt-scheme] string->url using semicolon where ampersand belongs

From: Stephen De Gabrielle (stephen at degabrielle.name)
Date: Thu Jul 12 04:14:15 EDT 2007


This would have got me too - so I've put it in the Scheme Cookbook as
this is where I often look;


I should probably add a link to the 'Net collection' documentation,
but I can't  open the documentation site at the moment.



Stephen De Gabrielle
s.degabrielle at ucl.ac.uk
Telephone +44 (0)20 7679 5242 (x45242)
Mobile                  079 851 890 45
University College London Interaction Centre
Remax House - 31/32 Alfred Place
London - WC1E 7DP

On 7/9/07, Ethan Herdrick <info at reatlas.com> wrote:
> Hi folks:
> I'd like to cast an emphatic vote in favor of changing the default
> query string separator used in string->url from the semicolon to the
> ampersand.  The standards that matter here are the customs and typical
> practices of the world, not what's written in RFCs.  Please change the
> code of string->url accordingly.
> Thank you.
> -Ethan
> For those frustrated Schemers who find this thread while trying to
> figure out why string->url is broken, here's what to do:  Before using
> string->url, do this:
> (require (lib "uri-codec.ss" "net"))
> (current-alist-separator-mode 'amp)
> And here's the thread where I finally found this answer:
> http://www.cs.brown.edu/pipermail/plt-scheme/2006-October/014947.html
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.