Skip to content

Commit

Permalink
[FIX] Incomplete string escaping or encoding (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 authored Nov 23, 2023
1 parent 52fb507 commit 50bb0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lbt/resources/ResourceFilterList.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function makeFileTypePattern(fileTypes) {
if ( !type.startsWith(".") ) {
type = "." + type;
}
return type.replace(/[*+?.()|^$]/g, "\\$&");
return type.replace(/[*+?.()|^$\\]/g, "\\$&");
}).join("|") + ")";
}

Expand Down

0 comments on commit 50bb0d9

Please sign in to comment.