diff options
author | Kim Alvefur <zash@zash.se> | 2023-05-31 14:08:19 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-05-31 14:08:19 +0200 |
commit | e4d5c1539653bf3e618618b06aed0180332a1dbf (patch) | |
tree | d9fc5eb2f2ea5f86043e51b6f28a5bdf087a1277 /.luacov | |
parent | 20afe7d20dfde84a9deb6ed4f85a6e7a9429f09c (diff) | |
download | prosody-e4d5c1539653bf3e618618b06aed0180332a1dbf.tar.gz prosody-e4d5c1539653bf3e618618b06aed0180332a1dbf.zip |
util.prosodyctl.check: Fix error where hostname can't be turned into A label
Where gethostname or tohostname returns an invalid name, e.g. containing
underscores or something, to_ascii would reject this and return nil,
which triggers an error in the dns lookup.
Reported by prova2 in the chat, for whom tohostname returned a long name
containing underscores.
Diffstat (limited to '.luacov')
0 files changed, 0 insertions, 0 deletions