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

Re: another APR question

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-09-09 03:52:18 CEST

On Fri, Sep 08, 2000 at 06:24:07PM -0500, Karl Fogel wrote:
> The apr_file_io library says to just use "/" as the separator on all
> systems.
>
> That sounds jolly to me. How does it escape "/" on those systems
> where "/" can be part of a filename component?

Dunno. Never ran into the issue.

> I wonder should we change svn_path_* to do escaping or substitution on
> "/"? I'm waiting for the day when someone on a Windows or Mac box
> checks out a file named "My Diary 2/11/01"... :-)

Just the Mac. Windows doesn't allow "/".

APR has not been ported to the Mac, so I don't know what the proper
resolution would be.

IMO, we should not allow them. The slashes also interfere with URL
construction.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:08 2006

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.