subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1767227 - /subversion/trunk/subversion/libsvn_repos/list.c
Date Mon, 31 Oct 2016 09:04:13 GMT
Author: stefan2
Date: Mon Oct 31 09:04:13 2016
New Revision: 1767227

URL: http://svn.apache.org/viewvc?rev=1767227&view=rev
Log:
Fix 'svn ls' with authz broken by the introduction of svn_repos_list.

* subversion/libsvn_repos/list.c
  (do_list): Actually check against the current path instead of the base.

Modified:
    subversion/trunk/subversion/libsvn_repos/list.c

Modified: subversion/trunk/subversion/libsvn_repos/list.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/list.c?rev=1767227&r1=1767226&r2=1767227&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/list.c (original)
+++ subversion/trunk/subversion/libsvn_repos/list.c Mon Oct 31 09:04:13 2016
@@ -237,8 +237,8 @@ do_list(svn_fs_root_t *root,
       if (authz_read_func)
         {
           svn_boolean_t has_access;
-          SVN_ERR(authz_read_func(&has_access, root, path, authz_read_baton,
-                                  iterpool));
+          SVN_ERR(authz_read_func(&has_access, root, sub_path,
+                                  authz_read_baton, iterpool));
           if (!has_access)
             continue;
         }



Mime
View raw message