diff --git a/src/sudoers/tokens.rs b/src/sudoers/tokens.rs index 3085ada12..e6666cb51 100644 --- a/src/sudoers/tokens.rs +++ b/src/sudoers/tokens.rs @@ -33,7 +33,7 @@ impl Token for Username { const ALLOW_ESCAPE: bool = true; fn escaped(c: char) -> bool { - matches!(c, '\\' | '"' | ',' | ':' | '=' | '!' | '(' | ')') + matches!(c, '\\' | '"' | ',' | ':' | '=' | '!' | '(' | ')' | ' ') } }