HaskellNet 0.4.4 → 0.4.5
raw patch · 3 files changed
+9/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG +5/−0
- HaskellNet.cabal +1/−1
- src/Network/HaskellNet/IMAP.hs +3/−1
CHANGELOG view
@@ -1,3 +1,8 @@+0.4.4 -> 0.4.5 (2015-06-18)++ - IMAP: select command must quote the mailbox name+ (see https://github.com/jtdaugherty/HaskellNet/issues/35)+ 0.4.3 -> 0.4.4 (2015-04-11) --------------
HaskellNet.cabal view
@@ -4,7 +4,7 @@ SMTP, and IMAP protocols. NOTE: this package will be split into smaller, protocol-specific packages in the future.-Version: 0.4.4+Version: 0.4.5 Copyright: (c) 2006 Jun Mukai Author: Jun Mukai Maintainer: Jonathan Daugherty <cygnus@foobox.com>,
src/Network/HaskellNet/IMAP.hs view
@@ -244,8 +244,10 @@ _select :: String -> IMAPConnection -> String -> IO () _select cmd conn mboxName =- do mbox' <- sendCommand conn (cmd ++ mboxName) pSelect+ do mbox' <- sendCommand conn (cmd ++ quoted mboxName) pSelect setMailboxInfo conn $ mbox' { _mailbox = mboxName }+ where+ quoted s = "\"" ++ s ++ "\"" select :: IMAPConnection -> MailboxName -> IO () select = _select "SELECT "