New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reports for period have invalid filename #9580
Comments
Do you mean the attachments in sent emails via a scheduled report contain invalid characters? |
No, the attachments themselves are fine. I mean the filename of the attachment in the header of the mime body. See following part of source code of a email: --=_7d9a4ed223249f0d3dfea17c59cb11cc |
@bwagenseil could you try to apply this patch: https://patch-diff.githubusercontent.com/raw/piwik/piwik/pull/9632.patch (you only need to patch the changes to |
Many thanks for the quick fix and the patch works fine so far. |
That's great news @bwagenseil thanks for letting us know |
The Filename of the attached report file for a report over a period (weekly, monthly, etc) contains a invalid character (en dash / u+2013), which causes some mail clients aren't able to open the mail / attachment.
The filename must built following the rules of the RFC 5987 to allow characters which aren't in ASCII or ISO-8859-1.
Be aware that the filename is identical to the subject of the mail plus the file extension. I did a quick fix changing all en dashes in ./plugins/Intl/lang/de.json (for my use only in german) into dash inside of ASCII code table.
The text was updated successfully, but these errors were encountered: