[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: parsing and comparing URIs
Hi Phil, Andy, et al,
Fine - do no normalization, but expect breakage unless
you have very fine-grained control of your tools chain.
Comparing URIs is not just "somebody else's problem".
And PARSING URIs is just plain unwise and certainly
dangerous unless normalization is performed.
Cheers,
- Ira
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music / High North Inc
PO Box 221 Grand Marais, MI 49839
phone: +1-906-494-2434
email: imcdonald@sharplabs.com
-----Original Message-----
From: Phil Shafer [mailto:phil@juniper.net]
Sent: Friday, March 23, 2007 9:25 AM
To: McDonald, Ira
Cc: Andy Bierman; netconf
Subject: Re: parsing and comparing URIs
"McDonald, Ira" writes:
>Actually, you can't safely compare URIs at all unless
>you subject them both to normalization and (as RFC
>3986 clearly says) a given protocol that depends on
>comparison of URIs must precisely specify the steps
>of normalization required for those comparisons.
It also says:
Normalization of the base and target URIs prior to their comparison,
as described in Sections 6.2.2 and 6.2.3, is allowed but rarely
performed in practice.
Thanks,
Phil
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 3/22/2007 7:44 AM
--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>