Skip to content

Commit

Permalink
Fix code scanning alert issue-#1515 and issue-#1514
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 authored and DonnieBLT committed Nov 1, 2023
1 parent c2507db commit 1a01c32
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 1a01c32

Please sign in to comment.