Skip to content

Commit

Permalink
Fix code scanning alert issue-#1337 (#1503)
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 authored Oct 23, 2023
1 parent 49d9e53 commit 5fae826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/static/js/jquery.atwho.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
_a = decodeURI("%C3%80");
_y = decodeURI("%C3%BF");
space = acceptSpaceBar ? "\ " : "";
regexp = new RegExp(flag + "([A-Za-z" + _a + "-" + _y + "0-9_" + space + '\'\.\+\-]*)$|' + flag + "([^\\x00-\\xff]*)$", 'gi');
regexp = new RegExp(flag + "([A-Za-z" + _a + "\\-" + _y + "0-9_" + space + '\'\.\+\\-]*)$|' + flag + "([^\\x00-\\xff]*)$", 'gi');
match = regexp.exec(subtext);
if (match) {
return match[2] || match[1];
Expand Down

0 comments on commit 5fae826

Please sign in to comment.