[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Issue #1901 (double slashes screw things): Patch, and some strategy questions

From: Klaus Rennecke <kre_at_tigris.org>
Date: 2004-07-04 09:34:37 CEST

Ben Reser wrote:

> [...]
>
>The above is taken from:
>http://www.faqs.org/rfcs/rfc2396.html
>
>Note that a segment can consist of no characters.
>
>Incidentally, no special meaning is given to /./ and /../ but everyone
>seems to apply them.
>[...]
>

Keep reading RFC 2396 up to Section 5.2, Steps 6c-g, they are pretty
detailed about normalising the relative references in URLs.

Granted, Step 5 states that if path starts with / it is absolute and 6
should be skipped. But it seems that the majority of applications apply
the normalisation no matter what. Even when they don't have to resolve a
URL relative to a base.

Section 6 states that normalisation is scheme specific. If it serves
consistency to declare this normalisation mandatory for absolute svn
URLs as well, then why not just do it? I'm not aware of any more
specific normalisation rules for http and https, but I can't see any
harm in doing it there too.

/Klaus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 4 09:35:34 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.