Re: Syntax-based normalization on relative URIs?

Not sure what the 4suite normalization tests are, but here are
the examples from RFC 3986:

  http://tools.ietf.org/html/rfc3986#section-5.4.1

  -joe

On Sat, Feb 23, 2008 at 4:12 PM, Sebastian Pipping
<webmaster@hartwork.org> wrote:
>
>
>  Sebastian Pipping wrote:
>  > Why are dot segments not removed when normalizing
>  > relative URIs? For example this testcase from 4Suite:
>  >
>  >   pathSegmentNormalizationTests = [
>  >     ..
>  >     ('a/b/../../c', 'a/b/../../c'),
>  >     ..
>  >
>  >   (and not "c" instead)
>  >
>  > A short explanation or a link would be great.
>
>  Anybody? I had code normalizing relative
>  URIs almost ready and then stumbled upon
>  this testcase again. In case I asked this
>  before I cannot find the related mail.
>  Please help me!
>
>  Thank you!
>
>
>
>  Sebastian
>
>



-- 
Joe Gregorio        http://bitworking.org

Received on Saturday, 23 February 2008 23:24:27 UTC