mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Update escaped chars
This commit is contained in:
parent
cd15a8c406
commit
3546ee30a2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue