Re: Draft of announcement message
Martijn Koster (m.koster@nexor.co.uk)
Tue, 06 Jun 1995 10:05:08 +0100
In message <01HRCTF6OM088X00TM@Gems.VCU.EDU>, "J.E. Fritz" writes:
> But I have another question: when the current code makes a relative URL
> absolute, it processes ../ and ./ segments of the base path as well as
> those in the relative path:
>
> Base: http://host/dir1/../dir2/file
> Result: http://host/dir2/file
>
> The language in the self test suggests that this is incorrect:
>
> Similarly, parsers must avoid treating "." and ".." as special when
> they are not complete components of a relative path.
In your example they are "complete components of a relative path",
('/../' as opposed to '/a..b'/) so I guess the behaviour is in fact
valid, although as you point out undesirable.
> In that case the following diff (from the
> original 2.9) should do the trick. I modified the addition to the self
> test to cover both things.
Thanks, I'll check it out, and release fixed version this week (hectic city
here at the moment...)
-- Martijn
__________
Internet: m.koster@nexor.co.uk
X-400: C=GB; A= ; P=Nexor; O=Nexor; S=koster; I=M
WWW: http://web.nexor.co.uk/mak/mak.html