cvs commit: apache/src CHANGES mod_imap.c

1997-11-05 Thread dgaudet
dgaudet 97/11/05 03:43:15

  Modified:src  Tag: APACHE_1_2_X CHANGES mod_imap.c
  Log:
  mod_imap should DECLINE non-GET methods.
  
  Submitted by: Jay Bloodworth [EMAIL PROTECTED]
  Reviewed by:  Brian Behlendorf, Dean Gaudet, Ralf Engelschall
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.286.2.58 +3 -0  apache/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.286.2.57
  retrieving revision 1.286.2.58
  diff -u -r1.286.2.57 -r1.286.2.58
  --- CHANGES   1997/11/05 11:40:12 1.286.2.57
  +++ CHANGES   1997/11/05 11:43:13 1.286.2.58
  @@ -1,5 +1,8 @@
   Changes with Apache 1.2.5
   
  +  *) mod_imap should decline all non-GET methods.
  + [Jay Bloodworth [EMAIL PROTECTED]]
  +
 *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
   
 *) mod_userdir was modifying r-finfo in cases where it wasn't setting
  
  
  
  1.21.2.2  +5 -1  apache/src/mod_imap.c
  
  Index: mod_imap.c
  ===
  RCS file: /export/home/cvs/apache/src/mod_imap.c,v
  retrieving revision 1.21.2.1
  retrieving revision 1.21.2.2
  diff -u -r1.21.2.1 -r1.21.2.2
  --- mod_imap.c1997/08/01 08:48:17 1.21.2.1
  +++ mod_imap.c1997/11/05 11:43:14 1.21.2.2
  @@ -633,7 +633,11 @@
 char *imap_base = icr-imap_base ?
   icr-imap_base : IMAP_BASE_DEFAULT;
   
  -  FILE *imap = pfopen(r-pool, r-filename, r); 
  +  FILE *imap; 
  +
  +  if (r-method_number != M_GET) return DECLINED;
  +
  +  imap = pfopen(r-pool, r-filename, r); 
   
 if ( ! imap ) 
   return NOT_FOUND;
  
  
  


cvs commit: apache/src CHANGES mod_imap.c

1997-08-01 Thread Ralf S. Engelschall
rse 97/08/01 01:48:19

  Modified:src   Tag: APACHE_1_2_X  CHANGES mod_imap.c
  Log:
  Fixed an infinite loop for references above the server root.
  
  PR:   748
  Submitted by: Dean Gaudet
  Reviewed by:  Brian Behlendorf
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.286.2.38 +3 -0  apache/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.286.2.37
  retrieving revision 1.286.2.38
  diff -u -r1.286.2.37 -r1.286.2.38
  --- CHANGES   1997/07/31 08:50:01 1.286.2.37
  +++ CHANGES   1997/08/01 08:48:16 1.286.2.38
  @@ -1,5 +1,8 @@
   Changes with Apache 1.2.2
   
  +  *) Fixed an infinite loop in mod_imap for references above the server root
  + [Dean Gaudet] PR#748
  +
 *) mod_include cleanup showed that handle_else was being used to handle
endif.  It didn't cause problems, but it was cleaned up too.
[Howard Fear]
  
  
  
  1.21.2.1  +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.21
  retrieving revision 1.21.2.1
  diff -u -r1.21 -r1.21.2.1
  --- mod_imap.c1997/04/12 04:24:58 1.21
  +++ mod_imap.c1997/08/01 08:48:17 1.21.2.1
  @@ -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, /..) )
  
  
  


cvs commit: apache/src CHANGES mod_imap.c

1997-07-19 Thread Dean Gaudet
dgaudet 97/07/19 02:48:06

  Modified:src   CHANGES mod_imap.c
  Log:
  PR#807: Support frontpage image map syntax.
  
  Submitted by: Chris O'Byrne [EMAIL PROTECTED]
  Reviewed by:  Dean Gaudet
  
  Revision  ChangesPath
  1.349 +4 -0  apache/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.348
  retrieving revision 1.349
  diff -C3 -r1.348 -r1.349
  *** CHANGES   1997/07/19 09:34:32 1.348
  --- CHANGES   1997/07/19 09:48:03 1.349
  ***
  *** 1,4 
  --- 1,8 
Changes with Apache 1.3
  + 
  +   *) Support the image map format of FrontPage.  For example:
  + rect /url.hrm 10 20 30 40
  +  [Chris O'Byrne [EMAIL PROTECTED]] PR#807
  
  *) PORT: -lresolv and -lsocks were in the wrong order for Solaris.
 [Darren O'Shaughnessy [EMAIL PROTECTED]] PR#846
  
  
  
  1.25  +1 -1  apache/src/mod_imap.c
  
  Index: mod_imap.c
  ===
  RCS file: /export/home/cvs/apache/src/mod_imap.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -C3 -r1.24 -r1.25
  *** mod_imap.c1997/07/17 22:27:36 1.24
  --- mod_imap.c1997/07/19 09:48:04 1.25
  ***
  *** 712,718 

vertex = 0;
while ( vertex  MAXVERTS   
  !  sscanf(string_pos, %lf, %lf,
 pointarray[vertex][X], pointarray[vertex][Y])   == 2)
{
/* Now skip what we just read... we can't use ANSIism %n */
  --- 712,718 

vertex = 0;
while ( vertex  MAXVERTS   
  !  sscanf(string_pos, %lf%*[, ]%lf,
 pointarray[vertex][X], pointarray[vertex][Y])   == 2)
{
/* Now skip what we just read... we can't use ANSIism %n */
  
  
  


cvs commit: apache/src CHANGES mod_imap.c

1997-01-26 Thread Randy Terbush
randy   97/01/26 16:16:20

  Modified:src   CHANGES mod_imap.c
  Log:
  Allow whitespace in imagemap mapfile coordinates.
  Reviewed by: Roy Fielding, Brian Behlendorf, Jim Jagielski
  
  Revision  ChangesPath
  1.137 +2 -0  apache/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.136
  retrieving revision 1.137
  diff -C3 -r1.136 -r1.137
  *** CHANGES   1997/01/26 01:15:11 1.136
  --- CHANGES   1997/01/27 00:16:17 1.137
  ***
  *** 1,5 
  --- 1,7 
Changes with Apache 1.2b5

  +   *) Allow whitespace in imagemap mapfile coordinates. [Marc Slemko]
  + 
  *) Change KeepAlive semantics (On|Off instead of a number), add
 MaxKeepAliveRequests directive. [Alexei Kosut]

  
  
  
  1.17  +3 -1  apache/src/mod_imap.c
  
  Index: mod_imap.c
  ===
  RCS file: /export/home/cvs/apache/src/mod_imap.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -C3 -r1.16 -r1.17
  *** mod_imap.c1997/01/20 09:02:54 1.16
  --- mod_imap.c1997/01/27 00:16:18 1.17
  ***
  *** 720,726 

vertex = 0;
while ( vertex  MAXVERTS   
  !  sscanf(string_pos, %lf,%lf,
 pointarray[vertex][X], pointarray[vertex][Y])   == 2)
{
/* Now skip what we just read... we can't use ANSIism %n */
  --- 720,726 

vertex = 0;
while ( vertex  MAXVERTS   
  !  sscanf(string_pos, %lf, %lf,
 pointarray[vertex][X], pointarray[vertex][Y])   == 2)
{
/* Now skip what we just read... we can't use ANSIism %n */
  ***
  *** 729,734 
  --- 729,736 
while(isdigit(*string_pos)) /* and the 1st number */
string_pos++;
string_pos++;   /* skip the ',' */
  + while(isspace(*string_pos)) /* past any more whitespace */
  + string_pos++;
while(isdigit(*string_pos)) /* 2nd number */
string_pos++;
vertex++;