Software /
code /
prosody
File
spec/scansion/empty_bookmarks.scs @ 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 |
parent | 12593:1832b6c9c6ed |
line wrap: on
line source
# mod_scansion_record on host 'localhost' recording started 2022-07-26T21:39:55Z [Client] Romeo password: password jid: juliet@localhost/UaksS4M1xYZB ----- Romeo connects Romeo sends: <iq xml:lang='en' type='get' id='bNBJLtpIJXpq'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <items node='storage:bookmarks'/> </pubsub> </iq> Romeo receives: <iq id='bNBJLtpIJXpq' type='error'> <error type='cancel'> <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> </iq> Romeo disconnects # recording ended on 2022-07-26T21:40:45Z