Modifications made to magic
This commit is contained in:
parent
41d8c4af17
commit
5da5b2216a
@ -50,19 +50,19 @@ class EscapeUnicodeCharacters extends Operation {
|
|||||||
{
|
{
|
||||||
match: "\\\\u(?:[\\da-f]{4,6})",
|
match: "\\\\u(?:[\\da-f]{4,6})",
|
||||||
flags: "i",
|
flags: "i",
|
||||||
magic: true,
|
magic: false,
|
||||||
args: ["\\u"]
|
args: ["\\u"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: "%u(?:[\\da-f]{4,6})",
|
match: "%u(?:[\\da-f]{4,6})",
|
||||||
flags: "i",
|
flags: "i",
|
||||||
magic: true,
|
magic: false,
|
||||||
args: ["%u"]
|
args: ["%u"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: "U\\+(?:[\\da-f]{4,6})",
|
match: "U\\+(?:[\\da-f]{4,6})",
|
||||||
flags: "i",
|
flags: "i",
|
||||||
magic: true,
|
magic: false,
|
||||||
args: ["U+"]
|
args: ["U+"]
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
|
|||||||
@ -44,10 +44,7 @@ class RenderImage extends Operation {
|
|||||||
magic: true,
|
magic: true,
|
||||||
args: ["Raw"],
|
args: ["Raw"],
|
||||||
useful: true
|
useful: true
|
||||||
}],
|
}]
|
||||||
mimeCheck: {
|
|
||||||
type: "image"
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user