diff options
author | Eric Covener <covener@apache.org> | 2020-02-12 14:36:40 +0100 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2020-02-12 14:36:40 +0100 |
commit | b6dd2f55dc8735ec09ed0830ba7ec78dd99cde7f (patch) | |
tree | c53be323d0e1a03d78978828123cc67b63d2e26d /server/util_regex.c | |
parent | Add a missing APLOGNO() (diff) | |
download | apache2-b6dd2f55dc8735ec09ed0830ba7ec78dd99cde7f.tar.xz apache2-b6dd2f55dc8735ec09ed0830ba7ec78dd99cde7f.zip |
don't use DOTALL from mod_substitute which leaves \n at the end of the line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873941 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_regex.c')
-rw-r--r-- | server/util_regex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/util_regex.c b/server/util_regex.c index 2a30d68176..daf0ae7caa 100644 --- a/server/util_regex.c +++ b/server/util_regex.c @@ -101,6 +101,7 @@ AP_DECLARE(ap_rxplus_t*) ap_rxplus_compile(apr_pool_t *pool, case 'n': ret->flags |= AP_REG_NOMEM; break; case 'g': ret->flags |= AP_REG_MULTI; break; case 's': ret->flags |= AP_REG_DOTALL; break; + case 'S': ret->flags |= AP_REG_NO_DOTALL; break; case '^': ret->flags |= AP_REG_NOTBOL; break; case '$': ret->flags |= AP_REG_NOTEOL; break; default: break; /* we should probably be stricter here */ |