mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-13 12:15:23 +00:00
(fix) make sure we escape control chars
This commit is contained in:
1 parent
737d2ffccc
commit
ed9ec04669
1 file changed
+1
-1
@@ -75,7 +75,7 @@ static NSArray *easCommandParameters = nil;
|
||||
escapeCount++;
|
||||
break;
|
||||
default:
|
||||
if (chars[i] > 127)
|
||||
if (chars[i] < 0x20 || chars[i] > 127)
|
||||
escapeCount++;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user