[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-cvs
Subject:    svn commit: r8868 - trunk/subversion/mod_authz_svn
From:       striker () tigris ! org
Date:       2004-02-29 13:21:00
Message-ID: 200402291321.i1TDL0h11723 () svn ! collab ! net
[Download RAW message or body]

Author: striker
Date: Sun Feb 29 07:20:59 2004
New Revision: 8868

Modified:
   trunk/subversion/mod_authz_svn/mod_authz_svn.c
Log:
* subversion/mod_authz_svn/mod_authz_svn.c

  (auth_checker): Choose a better key for caching the parsed authorization
    data: the authorization file path.


Modified: trunk/subversion/mod_authz_svn/mod_authz_svn.c
==============================================================================
--- trunk/subversion/mod_authz_svn/mod_authz_svn.c	(original)
+++ trunk/subversion/mod_authz_svn/mod_authz_svn.c	Sun Feb 29 07:20:59 2004
@@ -261,7 +261,7 @@
         repos_path = svn_path_join("/", repos_path, r->pool);
 
     /* Retrieve/cache authorization file */
-    cache_key = apr_pstrcat(r->pool, "mod_authz_svn:", repos_path, NULL);
+    cache_key = apr_pstrcat(r->pool, "mod_authz_svn:", conf->access_file, NULL);
     apr_pool_userdata_get((void **)&access_conf, cache_key, r->connection->pool);
     if (access_conf == NULL) {
         svn_err = svn_config_read(&access_conf, conf->access_file, FALSE,

---------------------------------------------------------------------
To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
For additional commands, e-mail: svn-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic