]> granicus.if.org Git - apache/commitdiff
New ap_os_is_path_absolute() semantics
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Aug 2001 19:08:46 +0000 (19:08 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Aug 2001 19:08:46 +0000 (19:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90569 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_userdir.c

index baf8a51b129e922f238e7e69c384dea4b79007b5..efd8675a1242f2d1d2c60f79dc95259f1cf531e3 100644 (file)
@@ -279,7 +279,7 @@ static int translate_userdir(request_rec *r)
         if (ap_strchr_c(userdir, '*'))
             x = ap_getword(r->pool, &userdir, '*');
 
-       if (userdir[0] == '\0' || ap_os_is_path_absolute(userdir)) {
+       if (userdir[0] == '\0' || ap_os_is_path_absolute(r->pool, userdir)) {
             if (x) {
 #ifdef HAVE_DRIVE_LETTERS
                 /*