httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14376] - Date header overwritten in proxied requests
Date Tue, 15 Apr 2003 16:48:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14376>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14376

Date header overwritten in proxied requests

minfrin@sharp.fm changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|mod_proxy                   |Core
            Summary|mod_proxy overwrites Date   |Date header overwritten in
                   |header                      |proxied requests



------- Additional Comments From minfrin@sharp.fm  2003-04-15 16:48 -------
According to proxy_http.c this is the only code that touches the date field:

  	      if ((buf = apr_table_get(r->headers_out, "Date")) != NULL) {
  		apr_table_set(r->headers_out, "Date",     
                              ap_proxy_date_canon(p, buf));
  	      }                                             

What it does is try and parse the date provided using ap_proxy_date_canon().
This tries to parse the date, but if it fails to parse the date, the date is
transferred through unaltered.

If the date is being overwritten, it is likely to be happening inside the Apache
core, and not mod_proxy. I have updated the component to reflect this.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message