[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [kopete-devel] [Bug 96052] New: cryptography plugin should unescape
From:       Martin Albrecht <martin () rottendobben ! com>
Date:       2004-12-31 0:16:52
Message-ID: 20041231011650.96052.martin () rottendobben ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=96052        
           Summary: cryptography plugin should unescape messages before
                    decrypting them
           Product: kopete
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kopete-devel kde org
        ReportedBy: martin rottendobben com


Version:            (using KDE KDE 3.3.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

The cryptography plugin should unescape incoming messages before handing them to KGpg \
as some clients for instance replace newlines with <br>s which KGpg cannot handle \
(e.g. http://fire.sourceforge.net does so). They claim this is usefull as some IM \
protocols do not support newlines (see \
http://fire.sourceforge.net/forums/viewtopic.php?t=174 )

This tiny patch below will make kopete do as I want it to.

--- kopete-0.9.0/kopete/plugins/cryptography/cryptographyplugin.cpp   2004-09-08 \
                05:45:06.000000000 +0200
+++ kopete-0.9.0.new/kopete/plugins/cryptography/cryptographyplugin.cpp 2004-12-23 \
13:35:57.000000000 +0100  @ -165,6 +165,7  @
   }
   else
   {
+          body = KopeteMessage::unescape(body);
    plainBody = KgpgInterface::KgpgDecryptText( body, mPrivateKeyID );
   }
 
 @ -195,7 +196,7  @
 
   return;
  }
-
+ body = KopeteMessage::unescape(body);
  body = KgpgInterface::KgpgDecryptText( body, mPrivateKeyID );
 
  if( !body.isEmpty() )
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic