mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-02 14:35:29 +00:00
Add ':' to allowed characters for magiskhide process name
This commit is contained in:
parent
16b400964b
commit
4cd4bfa1d7
@ -61,7 +61,7 @@ static bool validate(const char *s) {
|
|||||||
bool dot = false;
|
bool dot = false;
|
||||||
for (char c; (c = *s); ++s) {
|
for (char c; (c = *s); ++s) {
|
||||||
if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') ||
|
if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') ||
|
||||||
(c >= '0' && c <= '9') || c == '_') {
|
(c >= '0' && c <= '9') || c == '_' || c == ':') {
|
||||||
dot = false;
|
dot = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user