[kmail2] [Bug 362650] New: an extra space character in attached file names the UTF-8 encoded

Alexander Yavorsky via KDE Bugzilla bugzilla_noreply at kde.org
Wed May 4 08:41:14 BST 2016


https://bugs.kde.org/show_bug.cgi?id=362650

            Bug ID: 362650
           Summary: an extra space character in attached file names the
                    UTF-8 encoded
           Product: kmail2
           Version: 5.1.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: composer
          Assignee: kdepim-bugs at kde.org
          Reporter: walker at mail.ru

If mail with long (longer about than 26 characters in my case) attached file
names  received, then these attachments shows and saves with additional space
in the file name.

in examle below correct file name is 
"Договор 1 на оказание услуг по обработке почвы. Технология. Талдом.docx"
it's displays and saves as 
Договор 1 на оказание у слуг по обработке почвы. Т ехнология. Талдом.docx

Reproducible: Always

Steps to Reproduce:
1. Receive an message with attached file with long file name
2. Look at file name at the message header or save that file

Actual Results:  
File will be displayed and saved with additional space char in its name.


It's look like the reason is here:
-----------start source ----------
--------_41_276815178_4760
Content-Type:
application/vnd.openxmlformats-officedocument.wordprocessingml.document;
    name="=?UTF-8?B?0JTQvtCz0L7QstC+0YAgMSDQvdCwINC+0LrQsNC30LDQvdC40LUg0YM=?= 
!!!ADDITIONAL SPACE OCCURS!!!
   
=?UTF-8?B?0YHQu9GD0LMg0L/QviDQvtCx0YDQsNCx0L7RgtC60LUg0L/QvtGH0LLRiy4g0KI=?=
!!!ADDITIONAL SPACE OCCURS!!!
    =?UTF-8?B?0LXRhdC90L7Qu9C+0LPQuNGPLiDQotCw0LvQtNC+0LwuZG9jeA==?="
!!!ADDITIONAL SPACE OCCURS!!!
Content-Disposition: attachment;
    filename="=?UTF-8?B?0JTQvtCz0L7QstC+0YAgMSDQvdCwINC+0LrQsNC30LDQvdC40LU=?=
!!!ADDITIONAL SPACE OCCURS!!!
   
=?UTF-8?B?INGD0YHQu9GD0LMg0L/QviDQvtCx0YDQsNCx0L7RgtC60LUg0L/QvtGH0LLRiy4=?=
!!!ADDITIONAL SPACE OCCURS!!!
    =?UTF-8?B?INCi0LXRhdC90L7Qu9C+0LPQuNGPLiDQotCw0LvQtNC+0LwuZG9jeA==?="
Content-Transfer-Encoding: base64
-----------end source ----------

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list