[Mageia-webteam] [Bug 907] [New] text/x-log attachments aren't opened in Firefox like text/plain

Ahmad Samir bugzilla-daemon at mageia.org
Wed Apr 20 20:16:22 CEST 2011


https://bugs.mageia.org/show_bug.cgi?id=907

           Summary: text/x-log attachments aren't opened in Firefox like
                    text/plain
           Product: Infrastructure
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Bugzilla
        AssignedTo: sysadmin-bugs at ml.mageia.org
        ReportedBy: ahmadsamir3891 at gmail.com
                CC: mageia-webteam at mageia.org, sysadmin-bugs at ml.mageia.org


Usually when users attach .log files the mimetype gets set to text/x-log,
Firefox doesn't open that mimetype like it does with text/plain, this is a
major annoyance as anyone who wants to examine the log will have to change the
mimetype in the Details of the attachment, or download it to view it with any
text editor.

LpSolit suggested installing an extension that converts text/x-log to
text/plain in bugzilla server side (he also said this extension is used in the
Mozilla Bugzilla).

The extension:
http://bzr.mozilla.org/bugzilla/extensions/typesniffer/trunk/files
it'll need  File::MimeInfo::Magic and IO::Scalar to work.

-- 
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Mageia-webteam mailing list