From: Eric Covener Date: Tue, 29 Jun 2021 15:57:55 +0000 (+0000) Subject: fix xlate of literal text ErrorDocument on EBCDIC X-Git-Tag: 2.5.0-alpha2-ci-test-only~912 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90215f54520278e22a7e821c090a3c4649789ffd;p=thirdparty%2Fapache%2Fhttpd.git fix xlate of literal text ErrorDocument on EBCDIC git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891145 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 33c9d083ef7..fd6fb88dbfd 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -1288,7 +1288,7 @@ AP_DECLARE(void) ap_send_error_response(request_rec *r, int recursive_error) * it hasn't happened yet; we may never know if it fails. */ if (custom_response[0] == '\"') { - ap_rputs(custom_response + 1, r); + ap_rvputs_proto_in_ascii(r, custom_response + 1, NULL); ap_finalize_request_protocol(r); return; }