[changelog] Escape regex chars. Relates to #213

This commit is contained in:
Andres Almiray
2021-06-27 16:33:28 +02:00
parent 4c21ae8954
commit fc9b98f085

View File

@@ -614,7 +614,7 @@ public class StringUtils {
if (!str.startsWith("^")) {
b.append(".*");
}
b.append(str);
b.append(escapeRegexChars(str));
if (!str.endsWith("$")) {
b.append(".*");
}