-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.8.4
-
None
-
Archlinux x86_74, KDE 4.10.3, Qt 4.8.4, rekonq 2.3.0.
When rekonq is asked to display files containing HTML, but without a .html file extension (e.g. parts of emails) it usually displays the raw HTML source, instead of the rendered HTML.
Steps to Reproduce:
1. Create a file called "email" with one line only:
Here is <a href=http://www.google.com>the link to google</a> I told you about.
2. Copy that file exactly to email.html:
% cp email email.html
3. Open rekonq on each file separately:
a) % rekonq email
b) % rekonq email.html
I observe email.html being rendered, email is shown as HTML source.
I would expect that both files are the same and hence should be rendered in the same way. libmagic treats those files the same:
% file email email: HTML document, ASCII text
% file email.html email.html: HTML document, ASCII text
i.e. the system knows that they are both HTML documents.
This is frustrating, since it stops rekonq from being able to be used for showing HTML attachments from text-based mail clients, since they are typically named things like /tmp/muttu1234.