summaryrefslogtreecommitdiff
path: root/subversion/mod_dav_svn/authz.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
commitcf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch)
treeda27775a2161723ef342e91af41a8b51fedef405 /subversion/mod_dav_svn/authz.c
parentbb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff)
downloadsubversion-tarball-master.tar.gz
Diffstat (limited to 'subversion/mod_dav_svn/authz.c')
-rw-r--r--subversion/mod_dav_svn/authz.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/subversion/mod_dav_svn/authz.c b/subversion/mod_dav_svn/authz.c
index 27763b0..9b5c7d6 100644
--- a/subversion/mod_dav_svn/authz.c
+++ b/subversion/mod_dav_svn/authz.c
@@ -57,7 +57,7 @@ dav_svn__allow_read(request_rec *r,
/* Sometimes we get paths that do not start with '/' and
hence below uri concatenation would lead to wrong uris .*/
if (path && path[0] != '/')
- path = apr_pstrcat(pool, "/", path, NULL);
+ path = apr_pstrcat(pool, "/", path, SVN_VA_NULL);
/* If bypass is specified and authz has exported the provider.
Otherwise, we fall through to the full version. This should be
@@ -80,7 +80,8 @@ dav_svn__allow_read(request_rec *r,
uri_type = DAV_SVN__BUILD_URI_PUBLIC;
/* Build a Version Resource uri representing (rev, path). */
- uri = dav_svn__build_uri(repos, uri_type, rev, path, FALSE, pool);
+ uri = dav_svn__build_uri(repos, uri_type, rev, path, FALSE /* add_href */,
+ pool);
/* Check if GET would work against this uri. */
subreq = ap_sub_req_method_uri("GET", uri, r, r->output_filters);