Closed Bug 1046409 Opened 10 years ago Closed 10 years ago

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

Categories

(MozReview Graveyard :: General, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

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
Attached patch 1046409.patchSplinter Review
Attachment #8465674 - Flags: review?(mcote)
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+
http://hg.mozilla.org/hgcustom/version-control-tools/rev/3e489b4f44ca
Status: ASSIGNED → RESOLVED
Closed: 10 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.

Attachment

General

Created:
Updated:
Size: