diff --git a/src/detect-pcre.c b/src/detect-pcre.c index 42ed3d3380..9e086807c9 100644 --- a/src/detect-pcre.c +++ b/src/detect-pcre.c @@ -105,7 +105,8 @@ void DetectPcreRegister (void) #ifdef UNITTESTS sigmatch_table[DETECT_PCRE].RegisterTests = DetectPcreRegisterTests; #endif - sigmatch_table[DETECT_PCRE].flags = (SIGMATCH_QUOTES_OPTIONAL|SIGMATCH_HANDLE_NEGATION); + sigmatch_table[DETECT_PCRE].flags = + (SIGMATCH_QUOTES_OPTIONAL | SIGMATCH_HANDLE_NEGATION | SIGMATCH_SUPPORT_FIREWALL); intmax_t val = 0; diff --git a/src/detect-urilen.c b/src/detect-urilen.c index 19e7ec438b..79bc46f562 100644 --- a/src/detect-urilen.c +++ b/src/detect-urilen.c @@ -69,6 +69,7 @@ void DetectUrilenRegister(void) #ifdef UNITTESTS sigmatch_table[DETECT_URILEN].RegisterTests = DetectUrilenRegisterTests; #endif + sigmatch_table[DETECT_URILEN].flags = SIGMATCH_SUPPORT_FIREWALL; g_http_uri_buffer_id = DetectBufferTypeRegister("http_uri"); g_http_raw_uri_buffer_id = DetectBufferTypeRegister("http_raw_uri");