brian 97/07/31 20:53:23
Modified: src mod_imap.c Log: PR: 748 Submitted by: Dean Gaudet Reviewed by: Brian Behlendorf This works great. 1 loop down, 53 to go, as Marc would say. Revision Changes Path 1.28 +4 -0 apache/src/mod_imap.c Index: mod_imap.c =================================================================== RCS file: /export/home/cvs/apache/src/mod_imap.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- mod_imap.c 1997/07/28 18:22:58 1.27 +++ mod_imap.c 1997/08/01 03:53:22 1.28 @@ -475,6 +475,10 @@ } value += 2; /* jump over the '..' that we found in the value */ + } else if (directory) { + url[0] = '\0'; + log_reason("invalid directory name in map file", r->uri, r); + return; } if (! strncmp(value, "/../", 4) || ! strcmp(value, "/..") )