fix for url regex
"Roy T. Fielding" <fielding@liege.ics.uci.edu> Sat, 28 December 1996 09:10 UTC
Received: from cnri by ietf.org id aa08302; 28 Dec 96 4:10 EST
Received: from services.Bunyip.Com by CNRI.Reston.VA.US id aa04506;
28 Dec 96 4:10 EST
Received: (from daemon@localhost) by services.bunyip.com (8.6.10/8.6.9) id
DAA28728 for uri-out; Sat, 28 Dec 1996 03:58:27 -0500
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by
services.bunyip.com (8.6.10/8.6.9) with SMTP id DAA28723 for
<uri@services.bunyip.com>; Sat, 28 Dec 1996 03:58:24 -0500
Received: from paris.ics.uci.edu by mocha.bunyip.com with SMTP
(5.65a/IDA-1.4.2b/CC-Guru-2b)
id AA25620 (mail destined for uri@services.bunyip.com);
Sat, 28 Dec 96 03:58:21 -0500
Received: from liege.ics.uci.edu by paris.ics.uci.edu id aa01509;
28 Dec 96 0:54 PST
To: uri@bunyip.com
Subject: fix for url regex
Date: Sat, 28 Dec 1996 00:54:33 -0800
From: "Roy T. Fielding" <fielding@liege.ics.uci.edu>
Message-Id: <9612280054.aa01509@paris.ics.uci.edu>
Sender: owner-uri@bunyip.com
Precedence: bulk
To fix the misinterpretation of double-scheme URIs
^(([^/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?
should be
^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?
since scheme is obviously not allowed to contain a ":" anyway.
BTW, I would appreciate it if people could inform the URN WG that there
cannot be a "urn:" prefix -- it is either the scheme or an error, unless
they have somehow discovered the ability to transport back in time.
I still think it is unnecessary, of course, but continuing to waffle
on the issue is pointless.
....Roy
- fix for url regex Roy T. Fielding