Update escaped chars
This commit is contained in:
parent
cd15a8c406
commit
3546ee30a2
@ -69,7 +69,7 @@ class FangURL extends Operation {
|
||||
function fangURL(url, dots, http, slashes) {
|
||||
if (dots) url = url.replace(/\[\.\]/g, ".");
|
||||
if (http) url = url.replace(/hxxp/g, "http");
|
||||
if (slashes) url = url.replace(/\[\:\/\/\]/g, "://");
|
||||
if (slashes) url = url.replace(/[://]/g, "://");
|
||||
|
||||
return url;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user