2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-10 21:33:36 +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) { function fangURL(url, dots, http, slashes) {
if (dots) url = url.replace(/\[\.\]/g, "."); if (dots) url = url.replace(/\[\.\]/g, ".");
if (http) url = url.replace(/hxxp/g, "http"); if (http) url = url.replace(/hxxp/g, "http");
if (slashes) url = url.replace(/\[\:\/\/\]/g, "://"); if (slashes) url = url.replace(/[://]/g, "://");
return url; return url;
} }