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

From: Neil W. Van Dyke (neil at neilvandyke.org)
Date: Thu Aug 26 17:44:13 EDT 2004

Mike Burns <netgeek at speakeasy.net> writes at 17:09 26-Aug-2004 -0400:
> So long as the generator of the URL and the parser of the URL are properly 
> controlled (e.g. functions from the same library), this shouldn't be too 

Unfortunately, we usually control only one end of a Web interaction.
And if we're writing a robust Web-crawler, we have to deal with all the
pathological servers and URIs that are out there.

(There's a reason that HtmlPrag was the first library I wrote as I was
starting to learn Scheme: I think permissiveness and recovery is crucial
when we're dealing with the whole Web.)

> separators, both should be parsed. `;' is neither a valid query key
> nor a valid query value (RFC2396, section 2.2).

Sadly, as you know, much of the Web is not standards-compliant. :)

Posted on the users mailing list.