http://bugs.winehq.org/show_bug.cgi?id=11787
Summary: Set mime type for log files are text/plain Product: WineHQ Bugzilla Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: minor Priority: P2 Component: bugzilla-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: thestig@google.com
Right now whenever someone attaches a .log file, Bugzilla auto-detects the mime type as text/x-log. Many web browsers are set to download files with that mime type, rather than just opening the file in the web browser. This is rather annoying.
Can we change the mime types for .log files to text/plain instead? I believe the code is in Bugzilla/Attachment.pm.
http://bugs.winehq.org/show_bug.cgi?id=11787
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Set mime type for log files |Set mime type for log files |are text/plain |as text/plain
http://bugs.winehq.org/show_bug.cgi?id=11787
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Lei Zhang thestig@google.com 2008-03-28 17:37:46 --- Fixed:
http://source.winehq.org/git/bugzilla.git/?a=commit;h=03fd95d16e0a651bc474fe...
http://bugs.winehq.org/show_bug.cgi?id=11787
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #2 from Lei Zhang thestig@google.com 2008-04-03 13:30:07 --- Hmm, that didn't quite do it. I tried with attachment 11797 and now the attachment shows up as "application/octet-stream". Reopening.
http://bugs.winehq.org/show_bug.cgi?id=11787
--- Comment #3 from Ken Sharp kennybobs@o2.co.uk 2009-05-27 19:47:55 --- Is this fixed?
http://bugs.winehq.org/show_bug.cgi?id=11787
--- Comment #4 from Austin English austinenglish@gmail.com 2009-05-27 22:33:28 --- (In reply to comment #3)
Is this fixed?
No.
http://bugs.winehq.org/show_bug.cgi?id=11787
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |austinenglish@gmail.com
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2011-10-05 22:19:09 CDT --- I think this is fixed, I ever use .log and bugzilla ever sets text/plain.
http://bugs.winehq.org/show_bug.cgi?id=11787
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #6 from Austin English austinenglish@gmail.com 2011-10-05 23:36:59 CDT --- (In reply to comment #5)
I think this is fixed, I ever use .log and bugzilla ever sets text/plain.
Depends on how the mime type or maybe character set. http://bugs.winehq.org/show_bug.cgi?id=28593 has a .log attached and bz sees it as application/octet-stream (I'm about to manually change it).
Still present.
https://bugs.winehq.org/show_bug.cgi?id=11787
--- Comment #7 from Ken Sharp imwellcushtymelike@gmail.com --- I think the autodetection may have improved, but not all .log files are plain text. (Not all of those are useful, of course)