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

Re: Request: make the user agent string a define

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-01-09 22:33:06 CET

steven.higgan wrote:

>Max Bowsher wrote:
>
>
>>Instead, pre-commit can check not for the version, but for the invalid
>>data, and reject *that*.
>>
>>
>
>Good point,
>
>I suppose for me it comes down to what is easier, is it easier to need to
>write code that sniffs what's coming down the pipe to ensure that it is
>properly encoded (something I haven't got a clue how to do). Or is it easier
>to check a 'user-agent' which would be much eaiser.
>
>
Much easier, but it wouldn't protect you from malicious clients that
fake the user-agent string, whereas checking the incoming data will
always work. So what's the point?

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 9 22:35:06 2005

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.