Commit ae237066 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

Fix recursive ErrorDocument handling, when r->status isn't HTTP_OK

upon first pass through ap_die(). 

PR: 36090
Backport: r354118
Submitted by: Chris Darroch
Reviewed by: covener, rjung, wrowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1005656 13f79535-47bb-0310-9956-ffa450edef68
parent 60e58a79
Loading
Loading
Loading
Loading
+2 −0
Changes for CHANGES: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -57,6 +57,8 @@ Changes with Apache 2.0.64
     mod_proxy_ftp: Prevent XSS attacks when using wildcards in the path of
     the FTP URL. Discovered by Marc Bevand of Rapid7. [Ruediger Pluem]

  *) Fix recursive ErrorDocument handling. PR 36090 [Chris Darroch]

  *) mod_ssl: Do not do overlapping memcpy. PR 45444 [Joe Orton]

  *) Add Set-Cookie and Set-Cookie2 to the list of headers allowed to pass 
+1 −9
Changes for STATUS: 1 added line, 9 removed lines.
Original line number Diff line number Diff line
@@ -113,15 +113,7 @@ CURRENT RELEASE NOTES:

RELEASE SHOWSTOPPERS:

  * Backport 354118: Fix recursive ErrorDocument handling [when r->status isn't
    HTTP_OK upon first pass through ap_die()]. PR #36090
    Trunk version of patch:
       http://svn.apache.org/viewvc?view=rev&revision=354118
    2.2.x patch:
       http://svn.apache.org/viewvc?view=rev&revision=355454
    Backport version for 2.0.x of patch:
       (trunk version works)
    +1: covener, rjung, wrowe


PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
  [ start all new proposals below, under PATCHES PROPOSED. ]
+1 −0
Changes for modules/http/http_request.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -259,6 +259,7 @@ void ap_process_request(request_rec *r)
        ap_finalize_request_protocol(r);
    }
    else {
        r->status = HTTP_OK;
        ap_die(access_status, r);
    }