]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
APACHE_XLATE: in ap_send_error_response(), move the setting
authorJeff Trawick <trawick@apache.org>
Wed, 31 May 2000 01:35:46 +0000 (01:35 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 31 May 2000 01:35:46 +0000 (01:35 +0000)
commit366bc3c6300c86e4231473e09614f667d4c10a84
treecb115ea72e64ab867bd2dd5dac1de1160794d8c8
parent0a0fb25f0df50cfe438e87bd7fbe6f9c84cc5ff3
APACHE_XLATE: in ap_send_error_response(), move the setting
of the translation handle to before we process ErrorDocument
strings.  The previous placement of this logic only handled
the hard-coded response documents.

When ErrorDocument specifies a redirection, we don't get here.
When the error response is headers only, we don't need to set
the handle for content.  Thus, all paths through
ap_send_error_response() should be handled now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85356 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_protocol.c