When creating a new attachment in Bugzilla, set the content_type to text/x-review-board-request

RESOLVED FIXED

Status

RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: dkl, Assigned: dkl)

Tracking

Production

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Currently a new attachment is set to text/plain and Bugzilla will normally update the content_type automatically if it see a properly formatted URL in the data part of the attachment. We should set the content-type explicitly when possible as Bugzilla may not be configured to recognize the reviewboard URL being provided such as a devel environment.

dkl
(Assignee)

Comment 1

4 years ago
Created attachment 8465674 [details] [diff] [review]
1046409.patch
Attachment #8465674 - Flags: review?(mcote)

Comment 2

4 years ago
Comment on attachment 8465674 [details] [diff] [review]
1046409.patch

Review of attachment 8465674 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks, I can now undo my local Bugzilla changes to work around this. :)
Attachment #8465674 - Flags: review?(mcote) → review+

Comment 3

4 years ago
http://hg.mozilla.org/hgcustom/version-control-tools/rev/3e489b4f44ca
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Product: bugzilla.mozilla.org → Developer Services
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.