]> granicus.if.org Git - apache/commit
mod_substitute: use local/native LF for splitting
authorEric Covener <covener@apache.org>
Fri, 14 Apr 2017 19:38:34 +0000 (19:38 +0000)
committerEric Covener <covener@apache.org>
Fri, 14 Apr 2017 19:38:34 +0000 (19:38 +0000)
commit7fb70434eb2644aca6143d5e25c43afe3903d267
treea8f55fe224d9573174e9d879cd751735e74f17e0
parentc8598a912636278b446fcf0f5ffe8d822bda1315
mod_substitute: use local/native LF for splitting

On platforms where the APR_ASCII_LF != '\n', like EBCDIC systems,
strmatch or pcre patterns from the source or config will be in
the native encoding, and this module will really only work on
content in the native encoding.

(mod_substitute runs before mod_charset_lite for a similar reason)

I thought #if APR_CHARSET_EBCDIC or even #ifdef __MVS__ was overkill
here.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1791400 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/filters/mod_substitute.c