aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamapper.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-10 22:48:45 +0100
committerKim Alvefur <zash@zash.se>2021-12-10 22:48:45 +0100
commitd4c145179420e6de0d2189059ea988072a7e7e45 (patch)
tree9e4186432ce5813a91c4774b0ce9b22d3367d8d4 /util/datamapper.lua
parentab4991e8297bf1055bee64d7eca9651b010046bf (diff)
downloadprosody-d4c145179420e6de0d2189059ea988072a7e7e45.tar.gz
prosody-d4c145179420e6de0d2189059ea988072a7e7e45.zip
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.
Diffstat (limited to 'util/datamapper.lua')
0 files changed, 0 insertions, 0 deletions