1
0
mirror of synced 2024-12-20 18:55:52 +01:00

Update escaped chars

This commit is contained in:
Kyle Parrish 2019-10-07 16:09:22 -04:00 committed by GitHub
parent cd15a8c406
commit 3546ee30a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}