]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #836: redirect_rewrites_host_header off broken
authorhno <>
Thu, 21 Oct 2004 04:48:52 +0000 (04:48 +0000)
committerhno <>
Thu, 21 Oct 2004 04:48:52 +0000 (04:48 +0000)
By Guido.

src/client_side_request.cc

index 4c9a6147df9dc2b516cb73ac715e725670c7c240..2b883d416722bd12c91eeac125fee588a91e82aa 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side_request.cc,v 1.38 2004/10/18 12:05:37 hno Exp $
+ * $Id: client_side_request.cc,v 1.39 2004/10/20 22:48:52 hno Exp $
  * 
  * DEBUG: section 85    Client-side Request Routines
  * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
@@ -784,6 +784,7 @@ clientRedirectDone(void *data, char *result)
         new_request->my_addr = old_request->my_addr;
         new_request->my_port = old_request->my_port;
         new_request->flags = old_request->flags;
+        new_request->flags.redirected = 1;
 
         if (old_request->auth_user_request) {
             new_request->auth_user_request = old_request->auth_user_request;