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

Re: Invalid characters over HTTP transport: client or server bug?

From: Jelmer Vernooij <jelmer_at_samba.org>
Date: Wed, 02 Sep 2009 16:40:34 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jelmer Vernooij wrote:
> The subversion client seems to have trouble parsing data sent by
> mod_dav_svn in some rare cases. The HTTP layer appears to be
> working fine, but parsing the XML data received fails. Two concrete
> cases I have seen so far:
>
> - Certain (XML-invalid?) characters in commit messages seem to
> cause problems. E.g.:
>
> svn log -v -r748 http://fbc.svn.sourceforge.net/svnroot/fbc (pcap
> trace at http://samba.org/~jelmer/subversion-http-200-ok.cap)
>
> Depending on whether you're using neon or serf you'll get a
> different error.
>
> serf gives: svn: XML parsing failed: (411 Length Required) neon
> gives: svn: REPORT of '/svnroot/fbc/!svn/bc/748': 200 OK
> (http://fbc.svn.sourceforge.net)
>
> - forward slashes (/) in svn property names. E.g.:
>
> svn ls -r45181 http://codespeak.net/svn/pypy/dist (pcap trace at
> http://samba.org/~jelmer/subversion-http-slash-propname.cap)
>
> In this particular case the property named
> "bzr:revision-id-v3:single-pypy/dist" is problematic.
>
> serf gives: svn: XML parsing failed: (411 Length Required) neon
> gives: svn: PROPFIND of '/svn/!svn/bc/45181/pypy/dist': 207 Unknown
> (http://codespeak.net)
>
> Should these issues be considered bugs in the client
> implementations (they should be more liberal in what they accept),
> in mod_dav(_svn) (it should be more strict about what it sends) or
> perhaps in both?
Ping. Any chance somebody could comment on these two issues or try to
reproduce them so I can report them in the bug tracker ?

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10rc1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKnoPhAAoJEACAbyvXKaRXRIkQAI7ZROx3z4SNyuKmlLMcY4Kl
PaEwYPnuZn+3hplox0jZE6meqLJEcQJo0BCcAfZibHI9cddN2HO09RklOjTbWhjk
dC9BfxT2vUoxk0Nmi4v1fSP00ZA8rRa3yUD/wVrz045wyXoajGJkCI+5cZZ3wyWr
gLp+Oo9Zb1rcv7QYwxM1MVQIHF4pehFArpFfTyjocF4qtCoLoAChk9CQZ2tu9iO4
X6ixJXUI6skXPGzjnsr4JF0ZYEcP+e5lgaN+ORfXUBjU6A81hV1YTo2rfXj2uMxw
e++5dYr1eMC2wdJm1jBiITG6wnF9pdq4BlifTWmRDjXbwXWkZS7fGprSU92kBlR3
/pik0rYhWuJb6UXLaMWZyyTViLihgzkvZITIK1F2IOA+pHs3UwhlrJbSdAUP9LuS
Tlzu82kh5/udsrNEdZBdeblfGBGWboqiRRcKt2aUSUjIOyJ/GObNAGpVTyke5B8D
3zwZ5T2MRVAtyprvGt/eHBKRqXsMxDfUYFBN3BSPBp5TC9CkMCGZGufnd592i0VX
Ew1GTnfRv+pKh/Hw7aK4RjCHXfShdmMIH0avF0a/7603McfGCU5kHLsSoMPsR6NC
4Tgm4uFhSiOhXsc4aG7nj5mp7fyWJo5Fo5sQgWAQbq0oYulzcgg2AaRLsYuHDI5v
JjNFE4IJPHS9PBOy/zJu
=u2In
-----END PGP SIGNATURE-----

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2390213
Received on 2009-09-02 16:42:20 CEST

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