We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d8a358 commit 649ff57Copy full SHA for 649ff57
WebServerAI/assets/AI/js/components/security.js
@@ -345,7 +345,7 @@ filter=(str, removeWords)=>{
345
if(validate(words,FILTER_VALIDATE_DOMAIN)){
346
347
const removeWWW = validate(words,FILTER_VALIDATE_DOMAIN).replace('www.','');
348
- const domain = new RegExp('((http(s)?):\/\/)?(www\.)?'+removeWWW+'([-a-zA-Z0-9@:%_\+.~#?&//=]*)','g');
+ const domain = new RegExp('((http(s)?):\/\/)?(www\.)?'+removeWWW+'([-a-zA-Z0-9@:%_+.~#?&//=]*)','g');
349
str = str.replaceAll(domain,'');
350
}
351
}else{
@@ -410,4 +410,4 @@ export {validate,
410
FILTER_FLAG_IPV6,
411
FILTER_FLAG_NO_PRIV_RANGE,
412
FILTER_FLAG_NO_RES_RANGE
413
-};
+};
0 commit comments