mozilla-b2g/gaia — pull request #13271 by Protonk (2013-11-01 00:16:39+00:00)
Title: Bug 930882 - [messages] Sending mms with attachment filename over 40 chars will be failed with incorrect error message

Truncate MMS filenames at generation
* Filename, extension and potential marker (e.g. `_2`) all must fit inside 40 characters
* Add tests for truncation