Software / code / prosody
Comparison
plugins/mod_pubsub/pubsub.lib.lua @ 12031:87bc26f23d9b
util.format: Escape invalid UTF-8 by passing trough serialization
Should prevent invalid UTF-8 from making it into the logs, which can
cause trouble with terminals or log viewers or other tools, such as when
grep determines that log files are binary.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 10 Dec 2021 22:48:45 +0100 |
| parent | 12021:376522fb3f52 |
| child | 12589:39ae08180c81 |
| child | 13177:6f64542a1336 |
comparison
equal
deleted
inserted
replaced
| 12030:9f8206e99b89 | 12031:87bc26f23d9b |
|---|