res = matcherprop_string_match(prop, tmp);
}
- if (res == FALSE && (strchr(prop->expr, '=') || strchr(prop->expr, '_')) ) {
+ if (res == FALSE && (strchr(prop->expr, '=') || strchr(prop->expr, '_')
+ || strchr(str, '=') || strchr(str, '_'))) {
/* if searching for something with an equal char, maybe
* we should try to match the non-decoded string.
* In case it was not qp-encoded. */
(str, conv_get_locale_charset_str_no_utf8(),
CS_INTERNAL);
res = matcherprop_string_match(prop, utf);
+ g_free(utf);
} else {
res = matcherprop_string_match(prop, str);
}