Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ac52086

Browse files
Distinguish PCRE vs. PCRE2 in startup version message
1 parent 583b465 commit ac52086

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎apache2/mod_security2.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ static void version(apr_pool_t *mp) {
126126
#endif
127127

128128
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
129+
#ifdef WITH_PCRE2
130+
"ModSecurity: PCRE2 compiled version=\"%s\"; "
131+
#else
129132
"ModSecurity: PCRE compiled version=\"%s\"; "
133+
#endif
130134
"loaded version=\"%s\"", pcre_vrs, pcre_loaded_vrs);
131135

132136
if (strstr(pcre_loaded_vrs,pcre_vrs) == NULL) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /