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

List:       kmail-devel
Subject:    [Bug 94243] <img> tag in IMAP message downloading progress bar not
From:       Till Adam <adam () kde ! org>
Date:       2004-12-03 10:22:23
Message-ID: 20041203102223.1145.qmail () ktown ! kde ! org
[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=94243        
adam kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From adam kde org  2004-12-03 11:22 -------
CVS commit by tilladam: 

Escape message subjects before showing them in the status bar.
BUG: 94243


  M +3 -1      imapjob.cpp   1.75


--- kdepim/kmail/imapjob.cpp  #1.74:1.75
 @ -41,4 +41,5  @
 using KPIM::ProgressManager;
 
+#include <qstylesheet.h>
 #include <kio/scheduler.h>
 #include <kdebug.h>
 @ -294,9 +295,10  @ void ImapJob::slotGetNextMessage()
   // protect the message, otherwise we'll get crashes afterwards
   msg->setTransferInProgress( true );
+  const QString escapedSubject = QStyleSheet::escape( msg->subject() );
   jd.progressItem = ProgressManager::createProgressItem(
                           mParentProgressItem,
                           "ImapJobDownloading"+ProgressManager::getUniqueID(),
                           i18n("Downloading message data"),
-                          i18n("Message with subject: ") + msg->subject(),
+                          i18n("Message with subject: ") + escapedSubject,
                           true,
                           account->useSSL() || account->useTLS() );
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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