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

Re: svn 1.2 and neon 0.25 -- xml-escaping problem.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-10 00:28:41 CET

On Mar 9, 2005, at 5:16 PM, Justin Erenkrantz wrote:
>> What should we do?
> I'm not clear I understand: are you saying that neon 0.25 *already*
> has this out-bound xml-escaping ability already? Or, is it something
> that is pie-in-the-sky for neon? The key phrase is 'if neon 0.25
> learns to...' -- justin

The bug has already been reported to joe, and he's put it on his TO-DO
list. I have no idea if the fix has been committed yet.

But I'd hardly call it "pie in the sky". It's a one-line change to
make ra_dav xml-escape the outbound lock->comment. I imagine it's a
one-line change in neon as well.

(... looks through neon code ...)

Looking at src/ne_locks.c/ne_lock(), joe just needs to xml-escape this

     if (lock->owner) {
             ne_buffer_concat(body, "<owner>", lock->owner, "</owner>" EOL,

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 10 00:29:54 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.