Bug 209041 - Attachments with extension "kcrash" should be considered "text/plain"
Summary: Attachments with extension "kcrash" should be considered "text/plain"
Status: RESOLVED FIXED
Alias: None
Product: bugs.kde.org
Classification: Websites
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDE sysadmins
URL:
Keywords:
: 264674 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-01 00:30 UTC by Dario Andres
Modified: 2020-08-31 08:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dario Andres 2009-10-01 00:30:38 UTC
It will be useful if the attached "kcrash" files (DrKonqi backtrace/report saves) would be automatically recognized as "text/plain" files.

Currently they are recognized as "octet-stream" forcing them to be downloaded. (they can't be viewed directly on the browser)

Even when KDE is moving to automated crash reporting, the kcrash files will still be used for offline reports and/or KDE < 4.3.

Thanks
Comment 1 Pino Toscano 2011-01-29 00:13:55 UTC
*** Bug 264674 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2013-01-15 23:16:26 UTC
This should be improved when bugs.kde.org upgrades to  bugzilla 4.4 

See  http://www.bugzilla.org/releases/4.4/release-notes.html#v44_feat_mimetype_autodetect and 
https://landfill.bugzilla.org/bugzilla-tip/show_bug.cgi?id=20283
Comment 3 Jekyll Wu 2013-04-18 16:09:47 UTC
Git commit c4a72e847f4d3461f76205a0b732648d752063b8 by Jekyll Wu.
Committed on 18/04/2013 at 17:38.
Pushed by jekyllwu into branch 'KDE/4.10'.

Save crash report with .kcrash.txt extension

This is a temporary workaround, which could and should be reverted
when bugs.kde.org upgrades to bugzilla 4.4 (not released yet) and is
configured to auto-detect mimetype of attachments.

M  +2    -2    drkonqi/drkonqi.cpp

http://commits.kde.org/kde-runtime/c4a72e847f4d3461f76205a0b732648d752063b8
Comment 4 Harald Sitter 2020-08-31 08:57:55 UTC
Looks very fixed.

https://bugs.kde.org/show_bug.cgi?id=408940

> curl -I https://bugs.kde.org/attachment.cgi\?id\=121050     
> HTTP/1.1 302 Found
> Date: Mon, 31 Aug 2020 08:51:10 GMT
> Server: Apache/2.4.29 (Ubuntu)
> Strict-Transport-Security: max-age=15768000
> Referrer-Policy: strict-origin-when-cross-origin
> X-XSS-Protection: 1; mode=block
> X-Content-Type-Options: nosniff
> X-Frame-Options: sameorigin
> X-content-type-options: nosniff
> X-frame-options: SAMEORIGIN
> X-xss-protection: 1; mode=block
> Location: https://bugsfiles.kde.org/attachment.cgi?id=121050
> Cache-Control: max-age=0
> Expires: Mon, 31 Aug 2020 08:51:10 GMT
> Content-Type: text/html; charset=iso-8859-1