Changeset 9093

Show
Ignore:
Timestamp:
12/03/07 22:29:12 (12 months ago)
Author:
asterix
Message:

\x00 chars are not allowed in C (end of string) so in GTK. But we can get from gpg encrypted messages.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/connection_handlers.py

    r9080 r9093  
    16071607                        if keyID: 
    16081608                                decmsg = self.gpg.decrypt(encmsg, keyID) 
     1609                                # \x00 chars are not allowed in C (so in GTK) 
     1610                                decmsg = decmsg.replace('\x00', '') 
    16091611                if decmsg: 
    16101612                        msgtxt = decmsg