2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-05 23:53:27 +00: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

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