[Tickets #11440] Imap Fetch fails with invalid UID

bugs at horde.org bugs at horde.org
Sun Sep 23 22:04:22 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11440
------------------------------------------------------------------------------
  Ticket             | 11440
  Created By         | horde at gosign.de
  Summary            | Imap Fetch fails with invalid UID
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


horde at gosign.de (2012-09-23 22:04) wrote:

Horde Imap does not seem to adhere to RFC3501 and therefore fails on  
Cyrus as it does strict argument checking.

Discussed here:  
http://www.dovecot.org/list/dovecot/2012-April/065086.html already  
some parts fixed in bug #11132.
There is however another point in Imap/Client/Socket.php  where this  
needs to be fixed:
in line 3167 the empty parameter is
hard-coded:

         $this->_sendLine(array(
              'UID FETCH',
              $ids->all ? '1:*' : strval($ids),
              array(),
              array(
                  'VANISHED',
                  'CHANGEDSINCE',
                  array('t' => Horde_Imap_Client::DATA_NUMBER, 'v' =>
intval($modseq))
              )


this can be fixed by changing it to:

   $this->_sendLine(array(
              'UID FETCH',
              $ids->all ? '1:*' : strval($ids),
              array('UID'),
              array(
                  'VANISHED',
                  'CHANGEDSINCE',
                  array('t' => Horde_Imap_Client::DATA_NUMBER, 'v' =>
intval($modseq))
              )


I also commented on the other bug metioned above, but could not figure  
out how to reopen it. sorry.


Alex





More information about the bugs mailing list