The REFERENCES Header should be plural in IMAP request
|Reported by:||memoryhole||Owned by:|
In imap.inc, in iil_C_FetchHeaders, Roundcube requests a header known as REFERENCE. There is no such header. Instead, as described in RFC 1036, the header is REFERENCES.
The result of this bug is that RoundCube never properly copies the contents of the References header into replies, thus violating a SHOULD clause in section 2.2.5 of RFC 1036 (and making threads much more fragile).
I'm attaching a small patch that should fix this.