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

Re: URI-encoding on 1.7 repository?

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Sat, 21 Jan 2012 04:10:19 +0200

Garret Wilson wrote on Fri, Jan 20, 2012 at 10:38:28 -0800:
> Let's say I have the file "a b.txt", which consists of "a" and "b"
> with a space in between. How should this be stored on the server?

Implementation detail. The API promises that Subversion filesystem can
have two sibling dirents named "a b" and "a%20b". See svn_fs__path_valid()'s
docstring for a pointer to the public API docs.

> How should the various APIs give it to me?

%-encoded when part of a URI, and unencoded otherwise.
Received on 2012-01-21 03:11:10 CET

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