Opened 7 years ago

Closed 7 years ago

#5000 closed defect (fixed)

Sending mesages to ""

Reported by: c-x@… Owned by: transports
Priority: low Milestone: 0.12.2
Component: None Version:
Severity: minor Keywords: Tranport, SMTP
Cc: Blocked By:
Blocking: OS: Unix


Message from gajim:

Traceback (most recent call last):

File "", line 449, in _process_events

return self.process_events(fd, flags)

File "/usr/share/gajim/src/common/xmpp/", line 132, in process_events


File "/usr/share/gajim/src/common/xmpp/", line 352, in pollin


File "/usr/share/gajim/src/common/xmpp/", line 502, in _do_receive


File "/usr/share/gajim/src/common/xmpp/", line 359, in dispatch


File "/usr/share/gajim/src/common/", line 1686, in _messageCB

frm = helpers.get_full_jid_from_iq(msg)

File "/usr/share/gajim/src/common/", line 734, in get_full_jid_from_iq

return parse_jid(str(iq_obj.getFrom()))

File "/usr/share/gajim/src/common/", line 117, in parse_jid

return prep(*decompose_jid(jidstring))

File "/usr/share/gajim/src/common/", line 169, in prep

raise InvalidFormat?, _('Invalid character in hostname.')

InvalidFormat?: Neplatný znak v hostname.

I know "something@…" doesn´t look very well but if you are checking adress before sending you may to do a nice exception and not this...

I just wanted to regisrate to SMTP transport..

Sorry for my English, I am czech.. (as you can see from exception..)

Change History (1)

comment:1 Changed 7 years ago by asterix

  • Milestone set to 0.12.2
  • Resolution set to fixed
  • Status changed from new to closed

(In [a4e267d1952e12d3fb223d3f11378494f40b81d0]) prevent sending single messages to non-valid JID. Fixes #5000

Note: See TracTickets for help on using tickets.