From: William A. Rowe Jr Date: Fri, 10 Nov 2000 01:12:10 +0000 (+0000) Subject: Newer canonicalization code should replace this patch entirely, however X-Git-Tag: APACHE_2_0_ALPHA_8~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f128eac2b1cc381a8d7ad10f0528011d62396e37;p=thirdparty%2Fapache%2Fhttpd.git Newer canonicalization code should replace this patch entirely, however 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 --- diff --git a/modules/mappers/mod_alias.c b/modules/mappers/mod_alias.c index c0ff93da7f7..8ba9d2a9dc9 100644 --- a/modules/mappers/mod_alias.c +++ b/modules/mappers/mod_alias.c @@ -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;