]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
stats: metrics - Use str_sanitize_utf8 to create submetric name
authorAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 22 Apr 2020 11:48:28 +0000 (14:48 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 22 Apr 2020 12:11:04 +0000 (15:11 +0300)
commitf2dc184d308e41b380f071449d29e04a9b649b51
tree650f7fec128fe4e851a2a7ba9206e3c525e4c3b2
parentd05d114419c6f605c54dc5a05c1cfdd975f3a158
stats: metrics - Use str_sanitize_utf8 to create submetric name

This was before sanitized to ascii letters and numbers. It is
foreseeable that e.g. usernames can contain utf-8 in future
so better retain it as utf-8 here.
src/stats/stats-metrics.c