httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos...@austintx.net (Joseph Bridgewater)
Subject RE: [PATCH] Win32 device files
Date Sat, 05 Dec 1998 20:38:37 GMT
At 11:30 AM 12/5/98 -0500, Ken Parzygnat wrote:
<snip>
> breaks with ap_os_is_filename_valid because it is getting
>passed the name "//.htaccess".  I traced it back to the 
>directory_walk routine.  We're not handling UNC names there
>correctly.  The name //machine/share/ is seen as 4 directories.
>So we first look for /.htaccess, then //.htaccess
>Seems to me that we need to initally jump past the machine
>and share name before we start doing the walking.

I'm sorry to offer this so incompletely, but I believe that essentially in
*every* case, "\\machine\share\" needs to be treated atomically *exactly*
as thought it were "x:".  Essentially you need to detect a UNC construction
at the earliest possible point (perhaps per sub, or perhaps one detection
can care for lower level subs) and not try to ever break it up or delve
deeper into it (same as you wouldn't try to break up x and delve into it).

Mime
View raw message