Skip to content

Delta Chat treats a part of file name as an extension #5338

@dev24126

Description

@dev24126

On Desktop I attached a file to the message. Filename: "Chor St. Otto Bismarck - Mitglieder.html".
But the attached file was renamed to "Chor St.otto bismarck mitglieder.html".

Seems that changes happens after the first dot instead of the last one. Problem happens when more than one dot is in the file name.
Solution could be to find the last dot by searching the dot from the end of the file name.

  • Operating System (Linux/Mac/Windows/iOS/Android): Windows
  • Delta Chat Version: 1.42.2
  • Expected behavior: Keep the filename as it is. Do not change it.
  • Actual behavior: Changes the filename.
  • Steps to reproduce the problem:
  • Screenshots:
  • Logs:

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions