Ticket #1484191 (closed Patches: fixed)

Opened 22 months ago

Last modified 7 months ago

Changes for decode_mime_string and a subscription - patch

Reported by: alexey_dv Owned by:
Priority: 5 Milestone: 0.1.1
Component: PHP backend Version: svn-trunk
Severity: normal Keywords: subject utf-8 mime folders
Cc:

Description

Hello,

Some changes for use of the RC:

* added removal of all blanks between lines MIME (function decode_mime_string)

* removed bug, when if the folder contained a symbol ',' then the RC subscribed on two nonexistent folders (file the rcube_imap.inc)

Attachments

rc_changes.diff (1.0 kB) - added by alexey_dv 22 months ago.
the file diff

Change History

Changed 22 months ago by alexey_dv

the file diff

Changed 21 months ago by alexey_dv

Example of a subject:

Subject: =?UTF-8?B?W2Ryd2ViLmNvbSAjMjI1NzM0XSDQodC+0LfQtNCw0L06INCh0L7QvtCx0YnQ?= =?UTF-8?B?tdC90LjQtSDQviDQstC40YDRg9GB0LUg0YEg0YHQsNC50YLQsCAid3d3LmRy?= =?UTF-8?B?d2ViLnJ1Ig==?=

Example of a real folder's name with a comma:

'&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-' is equal in UTF-8 'Отправленные' and equal translation 'Sent'

The folder '&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-' - autocreated by the program Outlook Express (RU edition).

RC has subscribed in this case on two not existing folders &BB4EQgQ and BEAEMAQyBDsENQQ9BD0ESwQ1-.

Changed 8 months ago by seansan

  • summary changed from Changes for decode_mime_string and a subscription to Changes for decode_mime_string and a subscription - patch
  • milestone set to 0.1.1

Review in 0.1.1

Changed 7 months ago by thomasb

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1201

Note: See TracTickets for help on using tickets.