Skip to content

Commit

Permalink
[FIX] ResourceFilterList: Incomplete string escaping or encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Nov 23, 2023
1 parent 52fb507 commit 760731f
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 760731f

Please sign in to comment.