Skip to content

Commit

Permalink
[mms] Fix working with mailboxes containing entirely integers (Bug #1…
Browse files Browse the repository at this point in the history
…3157).
  • Loading branch information
slusarz committed May 29, 2014
1 parent ef85645 commit 321b79f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Imap_Client/lib/Horde/Imap/Client/Socket.php
Expand Up @@ -1244,7 +1244,7 @@ protected function _getMailboxList($pattern, $mode, $options,
'ext' => false,
'options' => $options,
'subexist' => ($mode == Horde_Imap_Client::MBOX_SUBSCRIBED_EXISTS),
'subscribed' => ($check ? array_merge(array_flip(array_map('strval', $subscribed)), array('INBOX' => 1)) : null)
'subscribed' => ($check ? (array_fill_keys(array_map('strval', $subscribed), true) + array('INBOX' => true)) : null)
);
$pipeline->data['listresponse'] = array();

Expand Down
2 changes: 2 additions & 0 deletions framework/Imap_Client/package.xml
Expand Up @@ -21,6 +21,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [mms] Fix working with mailboxes containing entirely integers (Bug #13157).
* [mms] Horde_Imap_Client_Base#getNamespaces() can now return a Horde_Imap_Client_Namespace_List object instead of an array.
* [mms] Use the new command length limitations defined in RFC 7162.
* [mms] A noop() call before authentication will now correctly throw an exception on a connection issue (Bug #13205).
Expand Down Expand Up @@ -2439,6 +2440,7 @@
<date>2014-05-26</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [mms] Fix working with mailboxes containing entirely integers (Bug #13157).
* [mms] Horde_Imap_Client_Base#getNamespaces() can now return a Horde_Imap_Client_Namespace_List object instead of an array.
* [mms] Use the new command length limitations defined in RFC 7162.
* [mms] A noop() call before authentication will now correctly throw an exception on a connection issue (Bug #13205).
Expand Down

0 comments on commit 321b79f

Please sign in to comment.