From 7330bcd12cedf38e1680a1bd704a3ee6b55e5bdc Mon Sep 17 00:00:00 2001 From: Gurvinder Singh Date: Sat, 1 May 2010 14:28:50 +0200 Subject: [PATCH] fixed the regex in bug 136 --- src/detect-pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-pcre.c b/src/detect-pcre.c index 2839b49aea..d4993d59a8 100644 --- a/src/detect-pcre.c +++ b/src/detect-pcre.c @@ -820,7 +820,7 @@ static int DetectPcreTestSig01Real(int mpm_type) { de_ctx->mpm_matcher = mpm_type; de_ctx->flags |= DE_QUIET; - de_ctx->sig_list = SigInit(de_ctx,"alert tcp any any -> any any (msg:\"HTTP TEST\"; pcre:\"^/gEt/i\"; pcre:\"/\\/two\\//U; pcre:\"/GET \\/two\\//\"; pcre:\"/\\s+HTTP/R\"; sid:1;)"); + de_ctx->sig_list = SigInit(de_ctx,"alert tcp any any -> any any (msg:\"HTTP TEST\"; pcre:\"/^gEt/i\"; pcre:\"/\\/two\\//U; pcre:\"/GET \\/two\\//\"; pcre:\"/\\s+HTTP/R\"; sid:1;)"); if (de_ctx->sig_list == NULL) { result = 0; goto end;