diff options
Diffstat (limited to 'ext/clogger_ext')
-rw-r--r-- | ext/clogger_ext/clogger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/clogger_ext/clogger.c b/ext/clogger_ext/clogger.c index e1fcecb..c1e3eb4 100644 --- a/ext/clogger_ext/clogger.c +++ b/ext/clogger_ext/clogger.c @@ -161,7 +161,7 @@ static void init_buffers(struct clogger *c) static inline int need_escape(unsigned c) { assert(c <= 0xff); - return !!(c == '\'' || c == '"' || c <= 0x1f); + return !!(c == '\'' || c == '"' || c <= 0x1f || c >= 0x7f); } /* we are encoding-agnostic, clients can send us all sorts of junk */ |