You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/02/12 08:51:03 UTC
cvs commit: apache-1.3/src/os/netware os.c
wrowe 01/02/11 23:51:03
Modified: src CHANGES
src/os/netware os.c
Log:
*) Changed ap_os_is_filename_valid on NetWare to accept
SERVER/VOLUME:/PATH/FILE as a valid filename pattern.
[Brad Nicholes <BN...@novell.com>]
Revision Changes Path
1.1641 +4 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.1640
retrieving revision 1.1641
diff -u -r1.1640 -r1.1641
--- CHANGES 2001/02/12 06:45:08 1.1640
+++ CHANGES 2001/02/12 07:51:02 1.1641
@@ -1,5 +1,9 @@
Changes with Apache 1.3.18
+ *) Changed ap_os_is_filename_valid on NetWare to accept
+ SERVER/VOLUME:/PATH/FILE as a valid filename pattern.
+ [Brad Nicholes <BN...@novell.com>]
+
*) Win32/Netware: correct relative paths and eliminate trailing slash
in the -d serverroot argument. -d Serverroot may be relative to
the path of the Apache.exe file. [William Rowe]
1.12 +1 -15 apache-1.3/src/os/netware/os.c
Index: os.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/netware/os.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- os.c 2001/01/31 21:52:11 1.11
+++ os.c 2001/02/12 07:51:03 1.12
@@ -226,23 +226,9 @@
*/
colonpos = strchr (file, ':');
- fslashpos = strchr (file, '/');
- bslashpos = strchr (file, '\\');
- // The path must contain a volume specifier and the volume
- // specifier must appear before in slashes.
- if (colonpos) {
- // If a slash appears before the colon then the path
- // is invalid until we support remotes server file
- // access
- if (fslashpos && (fslashpos < colonpos))
- return 0;
- if (bslashpos && (bslashpos < colonpos))
- return 0;
- }
- else {
+ if (!colonpos)
return 0;
- }
pos = ++colonpos;
if (!*pos) {