Fixed REGEX filtering bug id #536

See here for more:
http://bugzilla.adiscon.com/show_bug.cgi?id=536
This commit is contained in:
Andre Lorbach 2015-03-26 13:33:42 +01:00
parent 0a31fa373e
commit 09ac9ec815

View File

@ -465,6 +465,10 @@ abstract class LogStream {
switch( $myfilter[FILTER_TYPE] )
{
case FILTER_TYPE_STRING:
// Do not FILTER for REGEX Values here!
if ( $myfilter[FILTER_MODE] & FILTER_MODE_SEARCHREGEX )
continue;
// Only filter if value is non zero
if ( strlen($propertyvalue) > 0 && strlen($myfilter[FILTER_VALUE]) > 0 )
{