Closed (fixed)
Project:
Mime Mail
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2013 at 20:12 UTC
Updated:
20 Feb 2014 at 18:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
trentl commentedUsing version beta1 of mime mail I am seeing the same thing. Files with spaces in their names do not get attached, and files without do.
Comment #2
trentl commentedI can confirm that this is a bug in Mime Mail. I rolled back go Alpha2 and Mime Mail successfully sends attachments with spaces in the file names. Beta1 does not.
Steps to reproduce:
1) Create form with file field component
2) Configure form and check "send files as attachments"
3) Test form by uploading file name with spaces
Result - if file name has spaces, it will not be sent as an attachment. Using alpha2 version does not exhibit this behavior.
Since this is a support request against the dev version, I'm going to open a bug in the beta2 queue.
Comment #3
sgabe commented@geeklygroup: Please do not open a new issue, but change this one to a bug report.
Comment #4
belio commentedI'm having the same problem. Rolling back to Alfa2 for now.
Comment #5
splitsplitsplit commentedAlso having the same problem in the beta. Rolled back to the alpha.
Also in the alpha2 version I can't seem to send text files. Word files and pdf's work fine.
Comment #6
sgabe commentedPlease test the attached patch and report back.
Comment #8
jesss commentedI applied the patch manually and it's working great for me. Thanks!
Comment #9
sgabe commentedUpdated patch attached with refactored _mimemail_url() function and a tiny test for this specific bug.
Comment #11
sgabe commentedVersion should be set to the branch to allow tests.
Comment #12
sgabe commentedThe attached patch with refactored _mimemail_url() function and some tests has been committed.