This has been bugging me too for a while. All my .tar.gz attachments can only 
be opened once, then I need to manually remove them in /tmp. Maybe an exception 
for *.tar.[a-z0-9]{2,3} as was suggested before ? 
Or how about adding the numbered suffix to the first text string :
.mozconfig -> .mozconfig-1
mydocuments.tar.gz -> mydocuments-1.tar.gz
Only "weird cases" would be:
my.documents.zip -> my-1.documents.zip
my.documents.tar.gz -> my-1.documents.tar.gz

(something which would match the following regex, more or less)
(?:^[.]?)([a-zA-Z0-9]+)(?:\.|$)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/78435

Title:
  temporary filenames should handle multiple extensions (.tar.gz)

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in “thunderbird” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: mozilla-thunderbird

  When opening a file named foo.bar, the file is downloaded to /tmp. If
  the file is opened again in a short time, the file is again downloaded
  to /tmp but renamed foo-1.bar.

  If the file has a double extension (for example, opening a foo.tar.gz
  file with ark), the file is renamed as foo.tar-1.gz and thus ark is
  not able to open it properly. It should be foo-1.tar.gz instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/78435/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to