httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r807015 - in /httpd/httpd/trunk: CHANGES modules/http/http_request.c
Date Sun, 23 Aug 2009 20:30:47 GMT
Author: niq
Date: Sun Aug 23 20:30:47 2009
New Revision: 807015

URL: http://svn.apache.org/viewvc?rev=807015&view=rev
Log:
Preserve port over internal redirection
PR#35999
A four-year-old buglet!

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/http/http_request.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=807015&r1=807014&r2=807015&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Sun Aug 23 20:30:47 2009
@@ -2,6 +2,9 @@
 
 Changes with Apache 2.3.3
 
+  *) Preserve Port information over internal redirects
+     PR 35999 [Jonas Ringh <jonas.ringh cixit.se>]
+
   *) Proxy: unable to connect to a backend is SERVICE_UNAVAILABLE,
      rather than BAD_GATEWAY or (especially) NOT_FOUND.
      PR 46971 [evanc nortel.com]

Modified: httpd/httpd/trunk/modules/http/http_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_request.c?rev=807015&r1=807014&r2=807015&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_request.c (original)
+++ httpd/httpd/trunk/modules/http/http_request.c Sun Aug 23 20:30:47 2009
@@ -412,6 +412,8 @@
     new->method_number   = r->method_number;
     new->allowed_methods = ap_make_method_list(new->pool, 2);
     ap_parse_uri(new, new_uri);
+    new->parsed_uri.port_str = r->parsed_uri.port_str;
+    new->parsed_uri.port = r->parsed_uri.port;
 
     new->request_config = ap_create_request_config(r->pool);
 



Mime
View raw message