]> granicus.if.org Git - apache/commitdiff
Newer canonicalization code should replace this patch entirely, however
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 10 Nov 2000 01:12:10 +0000 (01:12 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 10 Nov 2000 01:12:10 +0000 (01:12 +0000)
  it's nice to have a working server as a starting point :-)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86896 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_alias.c

index c0ff93da7f74f696ced324596c952f65ce4b5f54..8ba9d2a9dc9b7620abc2208c64892447524053b3 100644 (file)
@@ -146,9 +146,14 @@ static const char *add_alias_internal(cmd_parms *cmd, void *dummy,
        if (new->regexp == NULL)
            return "Regular expression could not be compiled.";
     }
+#ifndef OS2
+    else
+        new->real = ap_os_canonical_filename(cmd->pool, r);
+#else
+    new->real = r;
+#endif
 
     new->fake = f;
-    new->real = r;
     new->handler = cmd->info;
 
     return NULL;