After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143788 - XHTML files with .html suffix cause security warning
XHTML files with .html suffix cause security warning
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-05 22:42 UTC by Sebastien Bacher
Modified: 2005-01-16 18:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2004-06-05 22:42:29 UTC
This bug has been reported in the Debian BTS: http://bugs.debian.org/243283

"I have a file call links.html, which contains XHTML 1.0 (it even
validates). Nautilus looks at the filename and deduces that its type is
"text/html" and the contents and deduces the type as "text/xml". If I
double click on the file, since the types are different, it then pops up
an error dialog saying that I can't open it, there is a security problem
(the actual text is in Finnish, due to my locale; I can reproduce it in
English it if is vital).

This is quite annoying. I have no intention of renaming all my web pages
because of Nautilus."

This is due to the difference between the extension/mime which is html and
content/mime xml.  

There should be a way to turn off the warning displaying for some types or to
specify several mimetypes than an extension can fit.
Comment 1 Marc O'Morain 2004-08-12 09:56:23 UTC
Dupilcate of #135759
Comment 2 Sjoerd Simons 2005-01-15 11:18:53 UTC
The person how reported it in debian has reported that the bug isn't there any
more in current versions. 
Comment 3 Sebastien Bacher 2005-01-16 18:29:50 UTC
bug closed so, thanks