Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 4.5.1.022
    • Fix Version/s: 5.2.6.22
    • Labels:
      None
    • Environment:

      Windows 2008 R2 German, Java 1.7.0

    • Sprint:
      January 2018 Sprint

      Description

      Hi,

      when sending emails containing attachments with special chars in their file names (like German umlauts), the file names are not encoded by Lucee. This results in display errors, depending on the recipient's MUA. See attached screenshot (from Mozilla Thunderbird).
      Adobe CF does correctly encode file names.

      Example: Attaching a file called "test-äöü.txt".

      Result in Lucee:

      ------=_Part_40_1177320992.1436357959992
      Content-Type: text/plain; name="test-äöü.txt"; charset=us-ascii
      Content-Transfer-Encoding: 7bit
      Content-Disposition: attachment; filename="test-äöü.txt"
      
      hello world
      ------=_Part_40_1177320992.1436357959992--

      Result in Adobe CF8:

      ------=_Part_78_26863449.1436358159033
      Content-Type: text/plain; name="=?UTF-8?B?dGVzdC3DpMO2w7wudHh0?="
      Content-Transfer-Encoding: 7bit
      Content-Disposition: attachment;
       filename*0*=UTF-8''test-;
       filename*1*=%c3%a4%c3%b6%c3%bc;
       filename*2=.txt
      
      hello world
      ------=_Part_78_26863449.1436358159033--

      So far, I've been unable to come up with a workaround using plain <cfmail> and <cfmailparam>.
      Currently I'm transliterating umlauts before attaching the files, i.e. replacing "ä" by "ae", "ö" by "oe" and so on. But this is very ugly for many reasons.

      Any suggestions?
      Thanks!

        Attachments

        1. acf.PNG
          45 kB
        2. acf2.PNG
          14 kB
        3. lucee2.PNG
          14 kB
        4. Lucee 5.x.png
          29 kB
        5. mua-screenshot.png
          2 kB

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              fkl fkl
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: