Modifications made to magic

This commit is contained in:
n1073645 2020-02-14 11:51:53 +00:00
parent 41d8c4af17
commit 5da5b2216a
2 changed files with 4 additions and 7 deletions

View file

@ -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+"]
}] }]
}; };

View file

@ -44,10 +44,7 @@ class RenderImage extends Operation {
magic: true, magic: true,
args: ["Raw"], args: ["Raw"],
useful: true useful: true
}], }]
mimeCheck: {
type: "image"
}
}; };
} }