Re: Lock token encoding (was Re: svn commit: r1147882 - /subversion/trunk/subversion/libsvn_repos/hooks.c)

2011-07-20 Thread Ivan Zhakov
Hi Daniel, Thanks for looking into this issue. See my comments below. >> >> FWIW, I think UTF-8 is a fine choice, especially if we've been internally >> >> handling this string as UTF-8 already.  But let's document the fact >> >> somewhere, please (preferably in the pre-lock-hook template comment

Re: Lock token encoding (was Re: svn commit: r1147882 - /subversion/trunk/subversion/libsvn_repos/hooks.c)

2011-07-19 Thread Daniel Shahaf
Ivan Zhakov wrote on Tue, Jul 19, 2011 at 21:54:19 +0400: > On Tue, Jul 19, 2011 at 21:46, Daniel Shahaf wrote: > > C. Michael Pilato wrote on Tue, Jul 19, 2011 at 09:45:09 -0400: > >> On 07/19/2011 03:49 AM, Ivan Zhakov wrote: > >> > On Mon, Jul 18, 2011 at 23:50, Daniel Shahaf > >> > wrote: >

Re: Lock token encoding (was Re: svn commit: r1147882 - /subversion/trunk/subversion/libsvn_repos/hooks.c)

2011-07-19 Thread Ivan Zhakov
On Tue, Jul 19, 2011 at 21:46, Daniel Shahaf wrote: > C. Michael Pilato wrote on Tue, Jul 19, 2011 at 09:45:09 -0400: >> On 07/19/2011 03:49 AM, Ivan Zhakov wrote: >> > On Mon, Jul 18, 2011 at 23:50, Daniel Shahaf >> > wrote: >> >> Ivan notes on IRC that this fixes issues with non-ASCII lock tok

Re: Lock token encoding (was Re: svn commit: r1147882 - /subversion/trunk/subversion/libsvn_repos/hooks.c)

2011-07-19 Thread Daniel Shahaf
C. Michael Pilato wrote on Tue, Jul 19, 2011 at 09:45:09 -0400: > On 07/19/2011 03:49 AM, Ivan Zhakov wrote: > > On Mon, Jul 18, 2011 at 23:50, Daniel Shahaf > > wrote: > >> Ivan notes on IRC that this fixes issues with non-ASCII lock tokens. > >> (At least, he reports errors in 'svn ls -v' over

Re: Lock token encoding (was Re: svn commit: r1147882 - /subversion/trunk/subversion/libsvn_repos/hooks.c)

2011-07-19 Thread C. Michael Pilato
On 07/19/2011 03:49 AM, Ivan Zhakov wrote: > On Mon, Jul 18, 2011 at 23:50, Daniel Shahaf wrote: >> Ivan notes on IRC that this fixes issues with non-ASCII lock tokens. >> (At least, he reports errors in 'svn ls -v' over http://; but for me >> 'ls' and 'info' work fine over svn://.) >> >> Are lock

Lock token encoding (was Re: svn commit: r1147882 - /subversion/trunk/subversion/libsvn_repos/hooks.c)

2011-07-19 Thread Ivan Zhakov
On Mon, Jul 18, 2011 at 23:50, Daniel Shahaf wrote: > Ivan notes on IRC that this fixes issues with non-ASCII lock tokens. > (At least, he reports errors in 'svn ls -v' over http://; but for me > 'ls' and 'info' work fine over svn://.) > > Are lock tokens even permitted to be non-ASCII? > (both ba

Re: svn commit: r1147882 - /subversion/trunk/subversion/libsvn_repos/hooks.c

2011-07-18 Thread Daniel Shahaf
The questions I see are: * is there a bug in ra_dav's handling of some non-ASCI lock tokens? * is there a missing input validation? If so, what validation, and does it belong in _repos or _fs? Daniel Shahaf wrote on Mon, Jul 18, 2011 at 22:50:40 +0300: > Ivan notes on IRC that this fixes issu

Re: svn commit: r1147882 - /subversion/trunk/subversion/libsvn_repos/hooks.c

2011-07-18 Thread Daniel Shahaf
Ivan notes on IRC that this fixes issues with non-ASCII lock tokens. (At least, he reports errors in 'svn ls -v' over http://; but for me 'ls' and 'info' work fine over svn://.) Are lock tokens even permitted to be non-ASCII? (both backends generate ASCII-only lock tokens (in the same manner)) I