Open
Bug 527331
Opened 16 years ago
Updated 3 years ago
Attachment file type isn't detected correct when dots in filename exists
Categories
(MailNews Core :: MIME, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: markusd112, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.4) Gecko/20091028 Ubuntu/9.10 (karmic) Firefox/3.5.4
Build Identifier: 2.0.0.23 (20090817)
I have received an email with a wav file as attachment. The filename of the attachment was something like: "08.11.09_11.23_Call.081547113377.wav"
When I double click on the attachment there is not opened totem video player, but the "virus scanner"?!
I saved the attachement and named it to "test.wav". Then I have sent to myself. When I double click on "test.wav" in the email attachment, it proposes to open it with totem, as it should be.
I think the problem are the dots in the filename?
Reproducible: Always
Actual Results:
Doesn't open videoplayer
Expected Results:
Open videoplayer
Comment 1•16 years ago
|
||
It depends on the header of the emails that you've received , what was the mime type associated with the attached file ?
Component: Mail Window Front End → MIME
Product: Thunderbird → MailNews Core
QA Contact: front-end → mime
Version: unspecified → 1.8 Branch
| Reporter | ||
Comment 2•16 years ago
|
||
Here is an example of an wav file attachment. The problem didn't occur under ubuntu 9.04, it starts with the upgrade to 9.10:
--==AVM_Fritz_Box==multipart/alternative==1==--
--==AVM_Fritz_Box==multipart/mixed==0==
Content-Type: application/octet-stream; name="08.11.09_11.23_Call.081547113377.wav"
Content-Disposition: attachment; filename="08.11.09_11.23_Call.081547113377.wav"
Content-Transfer-Encoding: base64
After upgrading to ubuntu 9.10 thunderbird proposes to start the virusscan program.
| Reporter | ||
Comment 3•16 years ago
|
||
Here is another example: a MS word document as attachement. It opens the "virus scanner" when trying to double click on it, not OpenOffice:
Content-Type: application/octet-stream; name="Gottesdienste an Weihnachten 2009 und zum Jahreswechsel 2009.doc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Gottesdienste an Weihnachten 2009 und zum Jahreswechsel 2009.doc"
Content-Description:
Comment 4•16 years ago
|
||
Aren't your downloaded docs suposed to be virus scanned ? maybe you should reset (erase) you mimetypes.rdf file in your profile.
| Reporter | ||
Comment 5•16 years ago
|
||
I have tried to erase the mimetypes.rdf file in my profile, but it doesn't help: most times it want's to start only the virus scanner and I cannot open the attachment directly in thunderbird. I have to save it to disk and open it via nautilus.
Is it a general problem after upgrading to ubuntu 9.10 or is it a particular problem of my systeme?!
| Reporter | ||
Comment 6•16 years ago
|
||
Another strange thing: when I choose "open with" and searching e.g. the bin of acroread to open the attached pdf-file, I cannot check the option "always open with", because it is deactivated and cannot get the focus and checked.
Comment 7•16 years ago
|
||
(In reply to comment #5)
> I have tried to erase the mimetypes.rdf file in my profile, but it doesn't
> help: most times it want's to start only the virus scanner and I cannot open
I wonder why you run a virus scanner on linux ... Which virus scanner is installed ?
> Is it a general problem after upgrading to ubuntu 9.10 or is it a particular
> problem of my systeme?!
Dunno - I never did such update with thunderbird installed. ccing a few ubuntu folks for their input.
| Reporter | ||
Comment 8•16 years ago
|
||
I have installed ClamAV with ClamTK 4.15 as GUI. I don't really use it, I have played around a little bit with it before a while. I am using the ubuntu pc as SAMBA server for some windows client, so I thought it can't be too bad to use some sort of virusscan. Since the upgrade to ubuntu 9.10 everything worked fine.
I have opened a bugreport at launchpad for this bug too:
https://bugs.launchpad.net/bugs/487057
| Reporter | ||
Comment 9•16 years ago
|
||
I have now deinstalled clamav and after that the problem doesn't occur any longer. Reinstalling clamav brings back the problem.
Is it a bug or a feature? I think it's a good idea to start a virusscan first and after that the appropriate application. But in the moment you don't have a chance to open the application. Clamavtk starts, the virus scan is done and that's all. Then you can save the file to disk, start nautilus and open it. That's very circuitous...
There could be two solutions: when opening an attachment from thunderbird the virusscan should be done in the background and then opening the appropriate application (that's would be my preference).
Or: in Clamavtk there should be a button "Open file", which starts the appropriate application and opens the scanned file.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•