]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Follow up to r1873941: define AP_REG_NO_DEFAULT for raw ap_regcomp() usage.
authorYann Ylavic <ylavic@apache.org>
Sun, 16 Feb 2020 23:08:32 +0000 (23:08 +0000)
committerYann Ylavic <ylavic@apache.org>
Sun, 16 Feb 2020 23:08:32 +0000 (23:08 +0000)
commitc8f486d716ffc63bd0004055abceb47b636e6b7c
tree96e250cce15920738e748b355617f024d9094bd3
parente957c6ddc9821d7fde7cf222dbb13f4025f3dcb0
Follow up to r1873941: define AP_REG_NO_DEFAULT for raw ap_regcomp() usage.

This avoids having to define AP_REG_NO_* for each APR_REG_* specific option,
thus replacing AP_REG_NO_DOTALL introduced lately.

For ap_rxplus_compile() and mod_substitute where default AP_REG_DOTALL is not
suitable, let's use:
    AP_REG_NO_DEFAULT | ap_regcomp_get_default_cflags() & AP_REG_DOLLAR_ENDONLY
to keep the default AP_REG_DOLLAR_ENDONLY unless RegexDefaultOptions unsets it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874090 13f79535-47bb-0310-9956-ffa450edef68
include/ap_mmn.h
include/ap_regex.h
modules/filters/mod_substitute.c
server/util_pcre.c
server/util_regex.c