mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 01:56:54 -04:00
Made sure we do not operation loop
This commit is contained in:
parent
b61fd59b60
commit
c42aad7c82
2 changed files with 15 additions and 4 deletions
|
@ -89,6 +89,14 @@ class DefangURL extends Operation {
|
|||
flags: "i",
|
||||
args: [true, true, true, "Everything"],
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
match: "^\\s*(h(tt|xx)ps?|ftp)(://|\\[://\\])(-(\\.|\\[\\.\\]))?([^\\s/?\\.\\[\\]#-]+(\\.|\\[\\.\\])?)+(/\\S*)?\\s*$",
|
||||
flags: "i",
|
||||
shouldMatch: true,
|
||||
args: [true, true, true, "Everything"],
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue