On 04/01/2013 08:26 AM, Cor Bosman wrote:
My guess is that this may be because RC itself now asks for LIST-POST header, and my plugin adds that to the requested header set in imap_init. Now I can remove that, but I think RC shouldnt fetch the same content twice and add a duplicate to the header array. Or is this intended behavior?
Looks like we should check uniqueness of request headers in rcube_imap_generic::fetchHeaders(). However, your code should still be aware of possibility to get an array in case if malformed message with duplicated header. Please, open a ticket.