Software /
code /
prosody
Comparison
core/certmanager.lua @ 13121:332e95f75dbb 0.12
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 31 May 2023 14:08:19 +0200 (21 months ago) |
parent | 12507:e242a6e74424 |
child | 12508:e6cfd0a6f0da |
child | 13178:e689d4c45681 |
comparison
equal
deleted
inserted
replaced
13110:d5f322dd424b | 13121:332e95f75dbb |
---|