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

Re: mod_dav_svn not XML-escaping hook error messages

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 17 Dec 2009 23:36:27 +0000

> <http://subversion.tigris.org/issues/show_bug.cgi?id=3553>

My test (the test patch that I posted a couple of messages back in this
thread), running trunk without any patch to fix the bug, is producing:

EXPECTED STDERR:
svn: post-revprop-change hook failed (exit code 1) with output:
post-revprop-change hook failed: Text with <angle brackets> & ampersand
ACTUAL STDERR:
subversion/svn/propset-cmd.c:127: (apr_err=175002)
subversion/libsvn_client/prop_commands.c:485: (apr_err=175002)
subversion/libsvn_ra_neon/fetch.c:1173: (apr_err=175002)
svn: DAV request failed; it's possible that the repository's
pre-revprop-change hook either failed or is non-existent
subversion/libsvn_ra_neon/props.c:1158: (apr_err=175008)
svn: At least one property change failed; repository is unchanged
subversion/libsvn_ra_neon/util.c:613: (apr_err=175002)
svn: PROPPATCH of '/svn-test-work/repositories/prop_tests-30/!
svn/bln/0': 207 Multi-Status (http://localhost:28886)

And 1.6.x branch does the same.

That's not the error Jon reported: he saw an "invalid XML" error. Why
the difference?

- Julian
Received on 2009-12-18 00:37:07 CET

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.