Fix the regexp so it will produce less false-positives

This commit is contained in:
Aleksander Machniak
2025-12-15 11:36:05 +01:00
parent 366ad7a174
commit e5d5ed91bd

View File

@@ -555,7 +555,7 @@ class rcube_utils
$value .= ' url(' . $url . ')';
}
}
} elseif (preg_match('/;.*/', $val)) {
} elseif (preg_match('/;.+/', $val)) {
// Invalid or evil content, ignore
continue;
} else {