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

Re: [PATCH] Disallow going below root in svnserve

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-12-17 01:59:07 CET

Karl Fogel wrote:

>Nuutti Kotivuori <naked@iki.fi> writes:
>>Then we can just use 'apr_filepath_merge' on the paths. It's still a
>>bit unsure whether UTF-8 detranslation is needed before calling
>>'apr_filepath_merge' - it looks like it should handle UTF-8 paths, but
>>the translation is done in 'svn_path_get_absolute'.
>APR takes paths in native encoding -- it's not expecting UTF-8.
Yup, on Unix. Not on (most) Windows versions. I'm working on that now...

>That's why we always translate to native before calling an APR
>function (or should, anyway).

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 17 01:59:58 2002

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