1
0
mirror of https://github.com/apache/httpd.git synced 2025-07-27 21:41:53 +03:00

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
This commit is contained in:
Eric Covener
2020-02-12 13:36:40 +00:00
parent 34ef2afa8c
commit b6dd2f55dc
5 changed files with 11 additions and 2 deletions

View File

@ -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 */