mirror of
https://github.com/apache/httpd.git
synced 2025-08-03 16:33:59 +00:00
Complete the EBCDIC conversion support for XML documents.
With this change, mod_dav works on an EBCDIC machine. Submitted by: Jean-Frederic Clere <jfclere apache.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
#include "http_log.h"
|
||||
#include "http_core.h"
|
||||
|
||||
#include "util_charset.h"
|
||||
#include "util_xml.h"
|
||||
|
||||
|
||||
@ -110,6 +111,9 @@ AP_DECLARE(int) ap_xml_parse_input(request_rec * r, apr_xml_doc **pdoc)
|
||||
return HTTP_BAD_REQUEST;
|
||||
}
|
||||
|
||||
#if APR_CHARSET_EBCDIC
|
||||
apr_xml_parser_convert_doc(r->pool, *pdoc, ap_hdrs_from_ascii);
|
||||
#endif
|
||||
return OK;
|
||||
|
||||
parser_error:
|
||||
|
Reference in New Issue
Block a user