Author: cmpilato
Date: Thu Oct 11 16:58:37 2012
New Revision: 1397162
URL: http://svn.apache.org/viewvc?rev=1397162&view=rev
Log:
On the 'http-dynamic-prop-namespaces' branch: fix a server assertion.
* subversion/mod_dav_svn/deadprops.c
(davname_to_propname): Don't assume that anything outside the "svn"
and "custom" namespaces is in the extensible one. ("DAV:"
properties, for example, are not.)
Modified:
subversion/branches/http-dynamic-prop-namespaces/subversion/mod_dav_svn/deadprops.c
Modified:
subversion/branches/http-dynamic-prop-namespaces/subversion/mod_dav_svn/deadprops.c
URL:
http://svn.apache.org/viewvc/subversion/branches/http-dynamic-prop-namespaces/subversion/mod_dav_svn/deadprops.c?rev=1397162&r1=1397161&r2=1397162&view=diff
==============================================================================
---
subversion/branches/http-dynamic-prop-namespaces/subversion/mod_dav_svn/deadprops.c
(original)
+++
subversion/branches/http-dynamic-prop-namespaces/subversion/mod_dav_svn/deadprops.c
Thu Oct 11 16:58:37 2012
@@ -103,7 +103,8 @@ davname_to_propname(dav_db *db,
/* the name of a custom prop is just the name -- no ns URI */
propname = davname->name;
}
- else
+ else if (strncmp(davname->ns, SVN_DAV_PROP_NS_EXTENSIBLE,
+ sizeof(SVN_DAV_PROP_NS_EXTENSIBLE) - 1) == 0)
{
const char *relpath =
svn_uri_skip_ancestor(SVN_DAV_PROP_NS_EXTENSIBLE,