You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Archie Cobbs <ar...@dellroad.org> on 2005/07/21 22:58:31 UTC

Ampersand in directory name update bug

With svn 1.1.3 (r12730), it appears there is a bug when dealing with
directories containing ampersands. There are some old resolved bugs
dealing with this issue, but they were resolved a long time ago.
So this may be a new bug.

Someone added a directory "System Config & Install" using a Windows
client. On Linux, checkout of the repository went fine. However,
update doesn't work:

   $ pwd
   /home/archie/svn/corp/Test/System Config & Install
   $ svn info
   Path: .
   URL: http://svn.awarix.com/svn/corp/Test/System%20Config%20&%20Install
   Repository UUID: e8cef34c-0fdc-0310-b3e6-aec774b3c1b0
   Revision: 1042
   Node Kind: directory
   Schedule: normal
   Last Changed Author: wjones
   Last Changed Rev: 1042
   Last Changed Date: 2005-07-20 10:23:04 -0500 (Wed, 20 Jul 2005)

   $ svn up
   svn: REPORT request failed on '/svn/corp/!svn/vcc/default'
   svn: REPORT of '/svn/corp/!svn/vcc/default': 400 Bad Request 
(http://svn.awarix.com)

The Apache error log states:

   [Thu Jul 21 17:48:42 2005] [error] [client 10.104.145.23] XML parser 
error code: not well-formed (invalid token) (4)

Any ideas? Should I file a bug?

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

-- 

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Ampersand in directory name update bug

Posted by Archie Cobbs <ar...@dellroad.org>.
Ben Collins-Sussman wrote:
>> Any ideas? Should I file a bug?
> 
> No, you should upgrade to a 1.2 client.  I think this was fixed in 1.2:
> 
>     * fixed: xml-escaping bugs over dav (r11090)

Thanks, will do.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Ampersand in directory name update bug

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jul 21, 2005, at 5:58 PM, Archie Cobbs wrote:

>
> Any ideas? Should I file a bug?
>

No, you should upgrade to a 1.2 client.  I think this was fixed in 1.2:

     * fixed: xml-escaping bugs over dav (r11090)


------------------------------------------------------------------------
r11090 | kfogel | 2004-09-22 16:11:30 -0500 (Wed, 22 Sep 2004) | 9 lines
Changed paths:
    M /trunk/subversion/libsvn_ra_dav/fetch.c

Fix bug whereby update target paths were not XML-escaped.  Thanks to
Roland Ruedenauer <Ro...@yellow-computing.de>, who said
in http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=77935
that if the target filename contained (say) an ampersand, invalid XML
would go over the wire.

* subversion/libsvn_ra_dav/fetch.c
   (make_reporter): XML-escape the target.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org