Author Topic: Base64 encoded date header  (Read 2951 times)

Offline admiralsmaster

  • Newbie
  • *
  • Posts: 1
Base64 encoded date header
« on: July 01, 2015, 04:57:06 AM »
Hello,

I recieved email with following base64 encoded header:

Code: [Select]
Date: =?Windows-1252?B?VHVlLCAzMCBKdW4gMjAxNSAxODoyMzozMiArMDIwMA==?=
Roundcube don't view the date and the sorting by date is wrong.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Base64 encoded date header
« Reply #1 on: July 01, 2015, 08:00:20 AM »
While this is probably valid header format it might be not supported by your IMAP server. The Date header format is ASCII-only so, there's no need to encode the header value here. Because of that the server may not even try to decode Date header. Anyway, the sorting is done (in most cases) by the IMAP server, so this is not a Roundcube issue.