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

Re: 1.3 now blocking on path escaping in httpd operational logging

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-09-27 16:32:27 CEST

Justin Erenkrantz <justin@erenkrantz.com> writes:

> --On September 26, 2005 4:29:43 PM -0500 kfogel@collab.net wrote:
>
> > Looks like we don't just use single quotes to delimit paths, we use
> > them to delimit property names as well! And converting that to
> > URI-encoding would be odd. It would "work", but would it really be
> > appropriate?
>
> XML-escaping is what we have to do on the wire for propnames. I think
> it makes sense to do that here too. -- justin

XML-escaping permits whitespace, meaning whitespace could not be our
delimiter. And mixing encodings is nasty.

After sleeping on this, I'd like to reverse my position. I'm fine
with double-quote-wrapped, single-space-delimited, backslash-escaped,
UTF-8 output:

   "propset" "svn:log" "This is my first \"real\" propset."
   "checkout" "/trunk/My Documents/Miscellany"
   ...

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 27 16:34:52 2005

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