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

buggy client used un-escaped hash in Request-URI

From: jal0 <jal0_at_attbi.com>
Date: 2004-09-30 22:57:08 CEST

Hi,

The following is a transaction for what I believe may be a bug in
subversion. It has to do with reverse-merging and filenames with hashes in
them.

The client is a win2k box, the server is a win2k box. Both are using
1.1.0.rc3.

The scenario is that I'm trying to revert the trunk HEAD back to a previous
revision. The revision where trunk and rel-1.0.0 were identical.

=============================================================
BEGIN
=============================================================

D:\svntest>svn copy <http://test_server/svn/test_repo/template>
http://test_server/svn/test_repo/template
<http://test_server/svn/test_repo/hashtest>
http://test_server/svn/test_repo/hashtest

Committed revision 7.

D:\svntest>svn import . <http://test_server/svn/test_repo/hashtest/trunk>
http://test_server/svn/test_repo/hashtest/trunk
Adding temp
Adding temp\test
Adding temp\test\#test1.cfg
Adding test2.cfg

Committed revision 8.

D:\svntest>svn copy <http://test_server/svn/test_repo/hashtest/trunk>
http://test_server/svn/test_repo/hashtest/trunk
<http://test_server/svn/test_repo/hashtest/tag/rel-1.0.0>
http://test_server/svn/test_repo/hashtest/tag/rel-1.0.0

Committed revision 9.

D:\svntest>svn co <http://test_server/svn/test_repo/hashtest/trunk>
http://test_server/svn/test_repo/hashtest/trunk hashtest
A hashtest\temp
A hashtest\temp\test
A hashtest\temp\test\#test1.cfg
A hashtest\test1.cfg
Checked out revision 9.

D:\svntest>cd hashtest

D:\svntest\hashtest>svn del temp
D temp\test\#test1.cfg
D temp\test
D temp

D:\svntest\hashtest>svn ci -m"test delete"
Deleting temp

Committed revision 10.

D:\svntest\hashtest>svn merge -rHEAD:9
<http://test_server/svn/test_repo/hashtest/trunk>
http://test_server/svn/test_repo/hashtest/trunk
A temp
A temp\test
A temp\test\#test1.cfg

D:\svntest\hashtest>svn status
A + temp
A + temp\test
A + temp\test\#test1.cfg

D:\svntest\hashtest>svn ci -m'try2'
Adding temp
Adding temp\test
Adding temp\test\#test1.cfg
svn: Commit failed (details follow):
svn: PROPFIND request failed on
'/svn/test_repo/hashtest/trunk/temp/test/#test1.cfg'
svn: PROPFIND of '/svn/test_repo/hashtest/trunk/temp/test/#test1.cfg': 400
Bad Request ( <http://test_server> http://test_server)

=============================================================
END
=============================================================

My apache error.log has this to say:

[Thu Sep 30 14:53:29 2004] [error] [client X.X.X.X] buggy client used
un-escaped hash in Request-URI

Is this a bug? Any pointers for a workaround if it is?

Any help would be greatly appreciated.

Thanks,
jal0

 
Received on Thu Sep 30 22:57:47 2004

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.