W3C home > Mailing lists > Public > uri@w3.org > January 2006

URI components question

From: michele vivoda <michelevivoda@hotmail.com>
Date: Thu, 26 Jan 2006 15:45:52 +0000
Message-ID: <BAY108-F37DF350DA5C7E8CA796B3DAF150@phx.gbl>
To: uri@w3.org

Hi all,
I have a question about URIs.

I was wondering if is correct thinking that an uri can be decomposed in 
components
that can be stored in unescaped form mantaining the uri semantics, so the 
possibility
to reconstruct from the components the (same or equivalent) uri they were 
composing.

Perhaps better said the question is: can we always build an URI from 
unescaped components ?

Many programming apis offer the possibility to build an uri from unescaped 
components.
For 99% of the cases, for me, it worked good. But considering the following 
URI:

http://a/b?p1=R%26D&p2=q

the unescaped query component, orignally containing 2 parameters becomes:

p1=R&D&p2=q

loosing its meaning since now we have 3 parameters.
My conclusion is that (at least) query component cannot be unescaped.
Is this right, does it apply only to query or unescaped components should 
not exist at all ?

Regards
Michele Vivoda
Received on Friday, 27 January 2006 08:55:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:09 UTC