httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: apache-1.3/src/modules/standard mod_setenvif.c
Date Thu, 19 Aug 2004 23:33:22 GMT
nd          2004/08/19 16:33:22

  Modified:    src/modules/standard mod_setenvif.c
  Log:
  remove "support" for Remote_User variable, which never worked at all.
  
  PR: 25725
  Reviewed by: Justin Erenkrantz, Paul Querna
  
  Revision  Changes    Path
  1.41      +0 -8      apache-1.3/src/modules/standard/mod_setenvif.c
  
  Index: mod_setenvif.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_setenvif.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -u -r1.40 -r1.41
  --- mod_setenvif.c	20 Feb 2004 20:38:27 -0000	1.40
  +++ mod_setenvif.c	19 Aug 2004 23:33:22 -0000	1.41
  @@ -52,7 +52,6 @@
    *                     (analogous to SERVER_ADDR set in ap_add_common_vars())
    *   remote_host        Remote host name (if available)
    *   remote_addr        Remote IP address
  - *   remote_user        Remote authenticated user (if any)
    *   request_method     Request method (GET, POST, etc)
    *   request_uri        Requested URI
    *
  @@ -83,7 +82,6 @@
       SPECIAL_NOT,
       SPECIAL_REMOTE_ADDR,
       SPECIAL_REMOTE_HOST,
  -    SPECIAL_REMOTE_USER,
       SPECIAL_REQUEST_URI,
       SPECIAL_REQUEST_METHOD,
       SPECIAL_REQUEST_PROTOCOL,
  @@ -227,9 +225,6 @@
   	else if (!strcasecmp(fname, "remote_host")) {
   	    new->special_type = SPECIAL_REMOTE_HOST;
   	}
  -	else if (!strcasecmp(fname, "remote_user")) {
  -	    new->special_type = SPECIAL_REMOTE_USER;
  -	}
   	else if (!strcasecmp(fname, "request_uri")) {
   	    new->special_type = SPECIAL_REQUEST_URI;
   	}
  @@ -366,9 +361,6 @@
   	    case SPECIAL_REMOTE_HOST:
   		val =  ap_get_remote_host(r->connection, r->per_dir_config,
   					  REMOTE_NAME);
  -		break;
  -	    case SPECIAL_REMOTE_USER:
  -		val = r->connection->user;
   		break;
   	    case SPECIAL_REQUEST_URI:
   		val = r->uri;
  
  
  

Mime
View raw message