mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
Use apr_ flavors of ischar()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95859 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -519,9 +519,9 @@ AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer,
|
||||
|
||||
for (cp = w; *cp != '\0'; ++cp) {
|
||||
native = apr_xlate_conv_byte(ap_hdrs_from_ascii, *cp);
|
||||
if (isprint(*cp) && !isprint(native))
|
||||
if (apr_isprint(*cp) && !apr_isprint(native))
|
||||
++maybeEBCDIC;
|
||||
if (!isprint(*cp) && isprint(native))
|
||||
if (!apr_isprint(*cp) && apr_isprint(native))
|
||||
++maybeASCII;
|
||||
}
|
||||
if (maybeASCII > maybeEBCDIC) {
|
||||
|
Reference in New Issue
Block a user