Really ignore messages from invalid jids. Fixes #5539
This commit is contained in:
parent
9cdbf9814e
commit
1d0c57915a
|
@ -1370,6 +1370,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream,
|
||||||
except helpers.InvalidFormat:
|
except helpers.InvalidFormat:
|
||||||
self.dispatch('ERROR', (_('Invalid Jabber ID'),
|
self.dispatch('ERROR', (_('Invalid Jabber ID'),
|
||||||
_('A message from a non-valid JID arrived, it has been ignored.')))
|
_('A message from a non-valid JID arrived, it has been ignored.')))
|
||||||
|
return
|
||||||
|
|
||||||
addressTag = msg.getTag('addresses', namespace = common.xmpp.NS_ADDRESS)
|
addressTag = msg.getTag('addresses', namespace = common.xmpp.NS_ADDRESS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue