>Number: 2038
>Category: os-windows
>Synopsis: Supplied version does not support UNC pathnames
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Mon Apr 6 09:40:00 PDT 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3b5
>Environment:
WinNT 4.0, VC5
>Description:
There is a bug in sub_canonical_filename in that it cannot cope with
pathnames which begin with '\\' being passed to it.
>How-To-Repeat:
Set the UserDir to //foo/bar/*/public_html and attempt to access a
~ directory.
>Fix:
At line 30 of util_win32.c:
if (szFilePart < buf+3) {
strcpy(szCanon, buf);
// New stuff
if(szCanon[0]=='\\' && szCanon[1]=='\\')
szCanon[0]=szCanon[1]='/';
else
// End new stuff
szCanon[2] = '/';
return;
}
%0
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]