You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Dean Gaudet <dg...@hyperreal.com> on 1997/03/19 04:12:54 UTC

cvs commit: apache/src CHANGES mod_auth_anon.c

dgaudet     97/03/18 19:12:54

  Modified:    src       CHANGES mod_auth_anon.c
  Log:
  required an @ or a . in the email address, not both
  
  Reviewed by:	Dean, Roy, Randy
  
  Revision  Changes    Path
  1.204     +3 -0      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.203
  retrieving revision 1.204
  diff -C3 -r1.203 -r1.204
  *** CHANGES	1997/03/19 03:09:24	1.203
  --- CHANGES	1997/03/19 03:12:51	1.204
  ***************
  *** 1,5 ****
  --- 1,8 ----
    Changes with Apache 1.2b8
    
  +   *) mod_auth_anon required an @ or a . in the email address, not both.
  +      [Dirk vanGulik]
  + 
      *) per_dir_defaults weren't set correctly until directory_walk for
         name-based vhosts.  This fixes an obscure bug with the wrong config
         info being used for vhosts that share the same ip as the server.
  
  
  
  1.15      +3 -2      apache/src/mod_auth_anon.c
  
  Index: mod_auth_anon.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_auth_anon.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -C3 -r1.14 -r1.15
  *** mod_auth_anon.c	1997/03/07 14:15:37	1.14
  --- mod_auth_anon.c	1997/03/19 03:12:52	1.15
  ***************
  *** 234,241 ****
    	( (!sec->auth_anon_mustemail) || strlen(send_pw)  ) &&
    	/* does the password look like an email address ? */
    	( (!sec->auth_anon_verifyemail) || 
  ! 	     (strpbrk("@",send_pw) != NULL) || 
  ! 	     (strpbrk(".",send_pw) != NULL) 
    	  ) 
    	) {
          if (sec->auth_anon_logemail) {
  --- 234,242 ----
    	( (!sec->auth_anon_mustemail) || strlen(send_pw)  ) &&
    	/* does the password look like an email address ? */
    	( (!sec->auth_anon_verifyemail) || 
  ! 	     ((strpbrk("@",send_pw) != NULL) 
  ! 	      &&
  ! 	      (strpbrk(".",send_pw) != NULL))
    	  ) 
    	) {
          if (sec->auth_anon_logemail) {