From: William A. Rowe Jr Date: Mon, 16 Oct 2000 03:39:10 +0000 (+0000) Subject: More docs of oddities. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=881c0e88c88114f326925baf2db7c8acf3f72cd8;p=apache More docs of oddities. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86607 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_userdir.c b/modules/mappers/mod_userdir.c index 28437910b6..79efb2b791 100644 --- a/modules/mappers/mod_userdir.c +++ b/modules/mappers/mod_userdir.c @@ -283,13 +283,16 @@ static int translate_userdir(request_rec *r) /* * Crummy hack. Need to figure out whether we have been * redirected to a URL or to a file on some drive. Since I - * know of no protocols that are a single letter, if the : is - * the second character, I will assume a file was specified + * know of no protocols that are a single letter, ignore + * a : as the first or second character, and assume a file + * was specified + * + * XXX: Still no good for NETWARE, since : is embedded (sys:/home) */ if (strchr(x + 2, ':')) #else if (strchr(x, ':')) -#endif /* WIN32 */ +#endif /* HAVE_DRIVE_LETTERS */ { redirect = apr_pstrcat(r->pool, x, w, userdir, dname, NULL); apr_table_setn(r->headers_out, "Location", redirect);