File name bug when sending file

Version: 1.15.5 (Windows)
For the file to be sent, the position and number of the prefix and suffix separator in the file name will cause the display mode and opening mode of the file in Delta Chat to be changed.

Example of file name:

  • File A: file name 90.12345678901234567890123456789.png: Unexplained characters are added to the file name when sending using Delta Chat, there is no preview, and after sending, the file cannot be opened in the correct way;
  • File B: file name 901.2345678901234567890123456789.png: The above problem does not exist

The Android version has not been tested.

Snipaste_2021-04-07_09-26-44