Bug 1669734 - New bugzilla ask the browser to open all text attachments in external editor
Summary: New bugzilla ask the browser to open all text attachments in external editor
Keywords:
Status: CLOSED DUPLICATE of bug 1658655
Alias: None
Product: Bugzilla
Classification: Community
Component: Extensions
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: PnT DevOps Devs
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-26 14:37 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2025-10-16 23:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-03-14 03:47:37 UTC
Embargoed:


Attachments (Terms of Use)
plain text attachment (14 bytes, text/plain)
2019-01-26 14:38 UTC, Zbigniew Jędrzejewski-Szmek
no flags Details

Description Zbigniew Jędrzejewski-Szmek 2019-01-26 14:37:48 UTC
Description of problem:
Right now, when I click on any text attachment in a bug, I get asked by firefox for an external editor to open the file. I believe this is caused by bugzilla setting Content-disposition: attachment.

$ curl -I https://bugzilla.redhat.com/attachment.cgi?id=1519289
HTTP/1.1 200 OK
Date: Sat, 26 Jan 2019 14:32:45 GMT
Server: Apache
X-xss-protection: 1; mode=block
X-frame-options: SAMEORIGIN
Content-disposition: attachment; filename="bug-1661945-boot_with_udev_debug.txt"
X-content-type-options: nosniff
Content-length: 1458790
Content-Type: text/plain; name="bug-1661945-boot_with_udev_debug.txt"; charset=
Set-Cookie: Bugzilla_login_request_cookie=N6Da3P7XS7; domain=bugzilla.redhat.com; path=/; HttpOnly
Connection: close

This is annoying when working for example with abrt bugs, which have ~10 text attachments, and I really don't want to jump between the browser and an external editor all the time.

Comment 1 Zbigniew Jędrzejewski-Szmek 2019-01-26 14:38:52 UTC
Created attachment 1523722 [details]
plain text attachment

This is is a plain text attachment, I would expect it to be displayed inline.

Comment 2 Alasdair Kergon 2019-01-26 18:33:18 UTC
The feature was not working after the recent upgrade and we had to disable it.  We think that we'll be able to reenable it after the next release.

*** This bug has been marked as a duplicate of bug 1657579 ***

Comment 3 Zbigniew Jędrzejewski-Szmek 2019-02-13 07:17:12 UTC
This is still an issue. Possibly, it's not a duplicate of #1657579. Just click on the attachment above, it is still opened in an editor, and curl -I shows "Content-disposition: attachment; filename="file_1669734.txt"".

Comment 4 Jeff Fearn 🐞 2019-03-14 03:47:37 UTC

*** This bug has been marked as a duplicate of bug 1658655 ***


Note You need to log in before you can comment on or make changes to this bug.