diff options
Diffstat (limited to 'deskutils/kdepimlibs4')
-rw-r--r-- | deskutils/kdepimlibs4/distinfo | 4 | ||||
-rw-r--r-- | deskutils/kdepimlibs4/files/patch-kioslave__imap4__imapcommand.cpp | 32 |
2 files changed, 34 insertions, 2 deletions
diff --git a/deskutils/kdepimlibs4/distinfo b/deskutils/kdepimlibs4/distinfo index 516796f6b519..d8859df9ff39 100644 --- a/deskutils/kdepimlibs4/distinfo +++ b/deskutils/kdepimlibs4/distinfo @@ -1,2 +1,2 @@ -SHA256 (KDE/kdepimlibs-4.7.3.tar.bz2) = 11bec0a8d404bab11e0dd54d2c4e007812f675b85b3d9471a82abfcfb4925b87 -SIZE (KDE/kdepimlibs-4.7.3.tar.bz2) = 3233484 +SHA256 (KDE/kdepimlibs-4.7.4.tar.bz2) = 37c2a5903b6ed8f5b10ade3696dd43bcc7515b10dd8f75d157d3ed7e019bee66 +SIZE (KDE/kdepimlibs-4.7.4.tar.bz2) = 3236435 diff --git a/deskutils/kdepimlibs4/files/patch-kioslave__imap4__imapcommand.cpp b/deskutils/kdepimlibs4/files/patch-kioslave__imap4__imapcommand.cpp new file mode 100644 index 000000000000..b1028e089002 --- /dev/null +++ b/deskutils/kdepimlibs4/files/patch-kioslave__imap4__imapcommand.cpp @@ -0,0 +1,32 @@ +commit ddc273ca863aacc65742bf6193826809a2d3265e +Author: Allen Winter <winter@kde.org> +Date: Sat Dec 17 12:38:49 2011 -0500 + + In clientAppend(), be careful how the arguments for the APPEND command + are constructed so as not to break things. + + Found by Luke Dashjr <luke-jr+git@utopios.org> + with help from Andreas. Thanks guys. + Please test this. + + BUG: 289084 + FIXED-IN: 4.8.0 + +diff --git a/kioslave/imap4/imapcommand.cpp b/kioslave/imap4/imapcommand.cpp +index 43daccd..88d95df 100644 +--- ./kioslave/imap4/imapcommand.cpp ++++ ./kioslave/imap4/imapcommand.cpp +@@ -231,7 +231,12 @@ CommandPtr + imapCommand::clientAppend (const QString & box, const QString & flags, + ulong size) + { +- QString tmp = QString(flags.isEmpty() ? QString("") : QString(('(' + flags + ") ")) + '{' + QString::number(size) + '}'); ++ QString tmp; ++ if ( !flags.isEmpty() ) { ++ tmp = '(' + flags + ") "; ++ } ++ tmp += '{' + QString::number( size ) + '}'; ++ + return CommandPtr( new imapCommand ("APPEND", + "\"" + KIMAP::encodeImapFolderName (box) + "\" " + tmp)); + } |