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

Re: [PATCH] Add platform information to user agent string

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Tue, 30 Oct 2012 20:12:17 +0400

On Tue, Oct 30, 2012 at 8:07 PM, Ben Reser <ben_at_reser.org> wrote:
> On Tue, Oct 30, 2012 at 8:28 AM, Ivan Zhakov <ivan_at_visualsvn.com> wrote:
>> I think it will be useful to add client platform information to user
>> agent string, to use it Apache HTTP Server configuration or Subversion
>> hooks. Within my patch applied user agent will be like this:
>> SVN/1.8.0 (Windows) serf/1.1.1 TortoiseSVN/1.8.0
>> SVN/1.8.0 (Macintosh) serf/1.1.1
>> SVN/1.8.0 (FreeBSD) serf/1.1.1
>
> Useful how?
For example to disable plain-text basic authentication on Windows. Or
disable commits from Linux using pre-commit hook.

-- 
Ivan Zhakov
Received on 2012-10-30 17:13:14 CET

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.