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

Cannot update when ampersand is included in HTTP Request

From: Jarrod Spiga <jspiga_at_visionbytes.com>
Date: 2005-04-07 06:20:14 CEST

I have encountered what may be a bug with Subversion when we attempt to
update an area of the tree that has an ampersand in it. I've read
through a whole stack of posts to the list about issues with ampersands,
but most of these are related to checking out stuff with ampersands in

To illustrate the problem that I'm having, consider the following tree
structure in a repository named "main"

/trunk/project 1/
/trunk/project 1/source/
/trunk/project 1/patches & fixes/
/trunk/project 1/patches & fixes/patch 1/ ...

If we perform an initial CVN checkout of "/trunk/project 1" to a client,
all runs well. If we perform an update of "/trunk/project 1",
evenrything also runs smoothly. However, if we perform an update of the
"/trunk/project 1/patches & fixes" branch, subversion spits out the
following error:

REPORT request failed on '/main/!svn/vcc/default'
REPORT of '/main/!svn/vcc/default': 400 Bad Request

The same error occurs if you attempt to perform an update on any child
directory under this branch.

I have replicated the problem on Windows and Linux systems using the svn
command line too and TortoiseSVN.

When I attempt to update a child directory below the directory
containing the ampersand, the Apache access_log files on our RHEL3.0
server (the server that houses the repository) has the following to say: - - [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/trunk/project%201/patches%20&%20fixes HTTP/1.1" 401 488 "-"
"SVN/1.1.4 (r13838) neon/0.24.7" - jspiga [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/trunk/project%201/patches%20&%20fixes HTTP/1.1" 207 794 "-"
"SVN/1.1.4 (r13838) neon/0.24.7" - jspiga [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/!svn/vcc/default HTTP/1.1" 207 394 "-" "SVN/1.1.4 (r13838)
neon/0.24.7" - jspiga [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/!svn/bln/13656 HTTP/1.1" 207 453 "-" "SVN/1.1.4 (r13838)
neon/0.24.7" - jspiga [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/trunk/project%201/patches%20&%20fixes HTTP/1.1" 207 794 "-"
"SVN/1.1.4 (r13838) neon/0.24.7" - jspiga [05/Apr/2005:11:48:35 +1000] "REPORT
/main/!svn/vcc/default HTTP/1.1" 400 313 "-" "SVN/1.1.4 (r13838)

I have done a search for this problem and found a whole bunch of issues
that are now marked as resolved in relation to adding files and
directories with an ampersand. We aren't having this issue here - only
when trying to perform an update from the directory in the tree
containing the ampersand and below it in the tree.

Since I am not subscribed to this list, I would like all replies CCd to

Thanks in advance,

Jarrod Spiga

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 7 12:40:05 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.