www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Hoyle <...@netfusion.co.uk>
Subject os-windows/2038: Supplied version does not support UNC pathnames
Date Mon, 06 Apr 1998 16:37:05 GMT

>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
>Originator:     tmh@netfusion.co.uk
>Release:        1.3b5
WinNT 4.0, VC5
There is a bug in sub_canonical_filename in that it cannot cope with
pathnames which begin with '\\' being passed to it.

Set the UserDir to //foo/bar/*/public_html and attempt to access a
~ directory.
At line 30 of util_win32.c: 

   if (szFilePart < buf+3) {
        strcpy(szCanon, buf);
// New stuff
	if(szCanon[0]=='\\' && szCanon[1]=='\\')
// End new stuff
		szCanon[2] = '/';
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message