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

Re: URL case insensitivity vs SVN case sensitivity

From: si <sshnug.si_at_gmail.com>
Date: 2006-05-16 16:53:36 CEST

> > I'm assuming the issue is a conflict due to the URL being case
> > insensitive, as per RFC 1738, and Subversion being case sensitive.
>
> Who says http URLs are case insensitive? RFC 1738 doesn't actually talk
> about case sensitivity except for the scheme (http vs HTTP), unless
> I missed something. Hostnames are generally case insensitive due to
> DNS's insensitivity. Everything else is case sensitive as far as I know,
> though the server could consider things insensitivly if it wants to.

Oh, okay, I mis-read the RFC, my apologies.

After trying to create a test recipe with ra_local I couldn't
get it to fail on case insensitivity, so I tested with ra_svn
and it apears to be due to the authz file.

For a repository called 'repos'

With svnserve.conf set as
[general]
anon-access = none
auth-access = write
authz-db = authz

Checkout succeeds with URL svn://localhost/REPOS
when authz is set as
[/]
* = rw

or authz is set as
[repos:/]
* = rw

or authz is set as
[REPOS:/]
* = rw

And commit works if authz is set as
[/]
* = rw

or authz is set as
[REPOS:/]
* = rw

But commit fails when authz is set as
[repos:/]
* = rw

So unless I've stuffed up (again:) it looks like the read is performing
differently to the write, even though they're assigned the same way.

For what it's worth, commit also fails when authz is set as
[repos:/]
* = rw
[REPOS:/]
* = rw

But succeeds when authz is set as
[REPOS:/]
* = rw
[repos:/]
* = rw

This may not be worth fixing, but the problem had us stumped for a while.
(can checkout, can't commit)

peace
si

p.s. this is on windows, haven't tested on linux.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 16 16:55:23 2006

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

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