30 lines
968 B
Diff
30 lines
968 B
Diff
|
|
From 950e6da61ffb4a2a616fe4d99550ba664bdeaf17 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Stefan Eissing <icing@apache.org>
|
||
|
|
Date: Fri, 2 Aug 2019 09:24:58 +0000
|
||
|
|
Subject: [PATCH] Merge of r1864192 from trunk:
|
||
|
|
|
||
|
|
*) core, rewrite: Set PCRE_DOTALL by default
|
||
|
|
|
||
|
|
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1864213 13f79535-47bb-0310-9956-ffa450edef68
|
||
|
|
---
|
||
|
|
server/util_pcre.c | 3 ++-
|
||
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/server/util_pcre.c b/server/util_pcre.c
|
||
|
|
index f2cb1bb..35831f5 100644
|
||
|
|
--- a/server/util_pcre.c
|
||
|
|
+++ b/server/util_pcre.c
|
||
|
|
@@ -120,7 +120,8 @@ AP_DECLARE(void) ap_regfree(ap_regex_t *preg)
|
||
|
|
* Compile a regular expression *
|
||
|
|
*************************************************/
|
||
|
|
|
||
|
|
-static int default_cflags = AP_REG_DOLLAR_ENDONLY;
|
||
|
|
+static int default_cflags = AP_REG_DOTALL |
|
||
|
|
+ AP_REG_DOLLAR_ENDONLY;
|
||
|
|
|
||
|
|
AP_DECLARE(int) ap_regcomp_get_default_cflags(void)
|
||
|
|
{
|
||
|
|
--
|
||
|
|
1.8.3.1
|
||
|
|
|