Skip to content

Commit 2b7109d

Browse files
Update security.js
1 parent 649ff57 commit 2b7109d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebServerAI/assets/AI/js/components/security.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ filter=(str, removeWords)=>{
345345
if(validate(words,FILTER_VALIDATE_DOMAIN)){
346346
if(validate(words,FILTER_VALIDATE_DOMAIN)){
347347
const removeWWW = validate(words,FILTER_VALIDATE_DOMAIN).replace('www.','');
348-
const domain = new RegExp('((http(s)?):\/\/)?(www\.)?'+removeWWW+'([-a-zA-Z0-9@:%_+.~#?&//=]*)','g');
348+
const domain = new RegExp('((http(s)?):\/\/)?(www.)?'+removeWWW+'([-a-zA-Z0-9@:%_+.~#?&//=]*)','g');
349349
str = str.replaceAll(domain,'');
350350
}
351351
}else{

0 commit comments

Comments
 (0)