[Libreoffice-bugs] [Bug 125950] New: A comma in a document filename breaks the "Send Document as E-mail Attachment" feature when Thunderbird is used [ CONFIGURATION | FILESAVE ]

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 16 09:22:32 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125950

            Bug ID: 125950
           Summary: A comma in a document filename breaks the "Send
                    Document as E-mail Attachment" feature when
                    Thunderbird is used [ CONFIGURATION | FILESAVE ]
           Product: LibreOffice
           Version: 6.2.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: adundovi at gmail.com

Description:
A comma in a document filename breaks the "Send Document as E-mail Attachment"
feature when Thunderbird is used (Error: the document cannot be found).
Probably when a filename is passed to an mail client, the filename string is
not enclosed in quotes, or "dangerous" characters are not escaped. Attaching
the same document directly to a Thunderbird new mail window works as expected.

Steps to Reproduce:
1. Create a new LibreOffice document (from Writer for example)
2. Save it as a filename with a comma in it (for example: some, document.odt)
3. Use Thunderbird as the default mail client in LibreOffice Internet Settings
(Send Documents as E-Mail Attachments)
4. Use send to e-mail feature to automatically attach the file in a new mail


Actual Results:
An error occurs: the file cannot be found where the quoted string path of the
document stops just before the first comma in the filename. 

Expected Results:
The document is expected to be attached whatever the name is given if one
already managed to save the file, i.e., if LibreOffice allowed the filename
format, all features should work.


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested also with KMail as the default e-mail client, and with it, the feature
works as expected, even with commas within documents' filenames. Thus, I had
assumed this is not a LibreOffice issue but the Thunderbird one. However,
Thunderbird works perfectly when attaching documents in a various ways,
therefore, the interface between the two can be the one to blame.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190616/55455c9e/attachment.html>


More information about the Libreoffice-bugs mailing list