[plt-scheme] Notable bug-fix in uri-codec.ss in the net collection

From: David T. Pierson (dtp at mindstory.com)
Date: Thu Aug 26 20:06:59 EDT 2004

On Thu, Aug 26, 2004 at 03:19:26PM -0400, Mike Burns wrote:
> The library uri-codec.ss in the net collection has been updated in both exp 
> and v299. It is not possible to create a URL with ampersands (`&') in it and 
> then use that URL in a XML page created with the xml collection; the 
> ampersands would instead be escaped to `&'. We have removed the problem 

I am probably missing some context, but why is that a problem?
Ampersands should be escaped to '&' in XML documents, even if the
ampersand is part of a URL.  

Your example:

>  http://www.example.com/search?q=the+query&lang=en

should appear in both HTML and XML as:



Posted on the users mailing list.