RE: Question regarding RFC 3986, Section 3.2

On Fri May 27 2005 13:44, Robert Buck wrote:

> Is the operation of parsing any uri into its five major components, then
> recomposing them according to section 5.3, NOT guaranteed to produce a
> result identical to the input?
> 
> scheme:// -> {scheme,undefined,undefined,undefined,undefined} -> scheme:
> 
> Is this true?

Depends on what you mean by "parsing", "any" and "uri".  Using a
regular expression with some instances of broken URI syntax may
well lead to unexpected results.

Received on Friday, 27 May 2005 18:52:57 UTC