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

Re: [PATCH] Re: certificate problems and 403 Forbidden for svn 0.25.0

From: Garret Wilson <garret_at_globalmentor.com>
Date: 2003-07-21 20:40:28 CEST

Tobias Ringström wrote:
> I did add a new boolean config option at first (ssl-system-authorities),
> but I decided that I did not like it because I figured that the default
> value would need to change depending on whether ssl-authorities-file was
> used or not.
>
> How about the following solution? It will load the system CAs if
> ssl-authorities-file is not used, but not if ssl-authorities-file is
> used. You can get around that by prefixing the filename with a plus (+).

Syntactically, this would generate confusion. A parser would have to
parse the file to get the value, yet the value itself would have to be
parsed to separate "optional addition directive" from "filename." How
this would interact with some file system in the future that allows plus
signs is unknown.

Semantically, this is mixing two orthogonal ideas into one value:
boolean:append/replace and string:filename. It would be better to just
make a separate explicit boolean value, since this is in effect what's
going on anyway, just with a syntax that's proprietary and confusing.

Garret

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 21 20:43:09 2003

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.