[plt-scheme] Mailto Not Working in Help Desk (see PR 6241)

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Dec 30 11:23:59 EST 2005

On Dec 30, Robby Findler wrote:
> The url parser is not really set up for mailto urls at all. The fix
> you suggest doesn't work in general.n According to rfc1738, this is
> the syntax of a mailto url:
>  mailto:<rfc822-addr-spec>
> and that syntax doesn't conform to the standard url syntax at all,
> so there needs to be specialized url parsing, and presumably a new
> struct, and this means that lots and lots of code may have to
> change.

Why not fix it in a way that supports all non-url-schemes by just
keeping a string with the part after the colon?  (Additional schemes
can have arbitrary rules...)

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.