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

Re: [Issue 4124] New - Give servers sufficient means to disallow commits from clients based on version numbers

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 17 Aug 2012 17:43:39 +0100

Stefan Sperling wrote on Fri, Aug 17, 2012 at 18:24:03 +0200:
> On Fri, Aug 17, 2012 at 12:14:31PM -0400, C. Michael Pilato wrote:
> > 4. something else?
>
> 4. Marshall the version string before sending it across svn://,
> escaping unsupported characters somehow in a reversible way,
> and unescape them before passing them to hooks?
> I.e. use something like strnvis() but adapted to the
> restrictions of the svn:// protocol.

5. Require the version string and client name to match
   /^[A-Za-z0-9-]+$/, and embed them directly as part of a capability
   name (so: capabilities might be named client-version-tsvn-1dot7dot0)
Received on 2012-08-17 18:44:17 CEST

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.