svn 1.2 and neon 0.25 -- xml-escaping problem.
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-09 22:30:14 CET
This is a question about how to deal with a problem regarding upcoming
After a bunch of experimental verification, here's what's going on
1. user runs 'svn lock foo.c -m "<foo>"'.
* ra_dav calls ne_lock(), but manually xml-escapes the lock comment
* apache's front-end xml parser unescapes the request body
* mod_dav xml-escapes the comment again
* mod_dav_svn *possibly* unescapes the comment (depending on
2. svn client tries to fetch a lock
* ra_dav calls ne_lock_discover(), which issues a PROPFIND
* mod_dav_svn pulls the lock out of the repository, and possibly
* mod_dav and apache don't touch the data at all
* neon's xml parser xml-unescapes the comment and hands the
So... why am I explaining all this? cmpilato and I are worried about
In particular, we're worried that if neon 0.25 learns to automatically
In a perfect world, neon 0.25 would be pushed out ASAP with this fix
In a not-so-perfect world, we'd have to add runtime detection code for
What should we do?
---------------------------------------------------------------------
|
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.