Lock message not xml escaped
From: <kmradke_at_rockwellcollins.com>
Date: Thu, 2 Apr 2009 17:18:25 -0500
After posting on users, I have now verified that lock messages
svn lock http://server/repo/path/to/file.txt -m"Lock & load"
fails with error:
svn: Server sent unexpected return value (400 Bad Request) in response to
Looking at the xml sent from the client to the server it is obviously not
<?xml version="1.0" encoding="utf-8" ?><D:lockinfo xmlns:D="DAV:">
"&" should be replaced with "&"
Line 411 of libsvn_client/locking_commands.c is checking to make
Is the proper place to xml escape this around line 274
(This seems like a trivial fix, so I'm not offended if someone
Thanks!
------------------------------------------------------
|
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.