httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject cvs commit: apache-1.3/src/main http_core.c
Date Thu, 21 Mar 2002 14:52:55 GMT
minfrin     02/03/21 06:52:55

  Modified:    src      CHANGES
               src/main http_core.c
  Log:
  Reverse this change - as pointed out by Joshua Slive the UserCanonicalName
  directive handles this.
  
  Revision  Changes    Path
  1.1792    +0 -6      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1791
  retrieving revision 1.1792
  diff -u -r1.1791 -r1.1792
  --- CHANGES	21 Mar 2002 14:49:46 -0000	1.1791
  +++ CHANGES	21 Mar 2002 14:52:55 -0000	1.1792
  @@ -4,12 +4,6 @@
        the original site Server header with it's own, which is not
        allowed by RFC2616. Fixed. [Graham Leggett]
   
  -  *) Change ap_construct_url() so that the r->hostname is used in
  -     the URL instead of the value of the ServerName directive. This
  -     stops Apache redirecting to a different website name to the
  -     one the user typed in, which can break cookies and javascript
  -     handling on the client. [Graham Leggett]
  -
     *) Fixed the previous multiple-cookie fix in the proxy. Cookies
        are broken in that they contain dates which in turn contain
        commas - so merging and then unmerging them breaks Set-Cookie
  
  
  
  1.311     +1 -1      apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.310
  retrieving revision 1.311
  diff -u -r1.310 -r1.311
  --- http_core.c	21 Mar 2002 14:37:42 -0000	1.310
  +++ http_core.c	21 Mar 2002 14:52:55 -0000	1.311
  @@ -831,7 +831,7 @@
   				    request_rec *r)
   {
       unsigned port = ap_get_server_port(r);
  -    const char *host = r->hostname;
  +    const char *host = ap_get_server_name(r);
   
       if (ap_is_default_port(port, r)) {
   	return ap_pstrcat(p, ap_http_method(r), "://", host, uri, NULL);
  
  
  

Mime
View raw message