W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > December 2007

Re: Preprocessor supported protocols

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Tue, 4 Dec 2007 01:26:42 +0100
To: public-mobileok-checker@w3.org
Message-ID: <fj26nu$h0f$1@ger.gmane.org>

Guido García Bernardo wrote:

> I don't know what is the best way to solve it, 
> maybe if we find ":" without the two slashes,
> we should reject the URI.

Maybe.  Why not simply parse it as outlined in STD 66,
and then decide what to do if there's no "authority"
(or if it's utter dubiuous like localhost or,
 or neither DNS name nor IP).

Nothing's wrong with mailto: per se, you can check its
syntax, but you can't follow it.  Similar cases could
be news: or xmpp:

As javascript: isn't a registered URI scheme it has
the decent charme of about:mozilla or mocha:blank ;-)

 Frank (actually only testing GMaNe write access)
Received on Tuesday, 4 December 2007 00:30:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:19 UTC