W3C home > Mailing lists > Public > uri@w3.org > February 2004

Re: remove_dot_segment in draft-fielding-uri-rfc2396bis-03.txt

From: Roy T. Fielding <fielding@gbiv.com>
Date: Sat, 14 Feb 2004 01:15:19 -0800
Cc: uri@w3.org
To: Gisle Aas <gisle@ActiveState.com>
Message-Id: <4F441141-5ECE-11D8-8468-000393753936@gbiv.com>

On Thursday, July 24, 2003, at 12:02  AM, Gisle Aas wrote:
> If the buffer starts out as "a/../../c" then this algorithm ends up
> with "a/c" (step 5 kills the "/../..").  I don't think that is the
> intention.  Shouldn't step 5 and 6 be swapped?

Ouch!  That revealed a fundamental bug in the way that I was trying
to describe the algorithm.  After much fiddling and quite a bit of
testing, I have rewritten the example algorithms for merge and


and the example written in perl is now much simpler:


So much for trying to finish tonight.


Roy T. Fielding                            <http://roy.gbiv.com/>
Chief Scientist, Day Software              <http://www.day.com/>
Received on Saturday, 14 February 2004 04:14:12 UTC

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