ben         98/05/02 12:06:05

  Modified:    src/modules/standard mod_include.c
  Log:
  Add Windows protection to .. stuff.
  PR: 1203
  
  Revision  Changes    Path
  1.84      +4 -0      apache-1.3/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_include.c,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -r1.83 -r1.84
  --- mod_include.c     1998/04/20 15:28:36     1.83
  +++ mod_include.c     1998/05/02 19:06:05     1.84
  @@ -619,6 +619,10 @@
    */
   static int is_only_below(const char *path)
   {
  +#if WIN32
  +    if (path[1] == ':')
  +     return 0;
  +#endif
       if (path[0] == '/') {
        return 0;
       }
  
  
  

Reply via email to