Closed Bug 204964 Opened 21 years ago Closed 21 years ago

attachment view broken on cvs tip

Categories

(Bugzilla :: Attachments & Requests, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: john, Assigned: myk)

References

()

Details

Attachments

(1 file)

Attachment view gives a server error on cvs tip.  I ran attachment.cgi from
bugzilla-tip directly and got this result, from which I infer that perhaps
Content-disposition is messed up with an extra newline (but I really don't know
for sure what's up):

[jkeiser@landfill bugzilla-tip]$ ./attachment.cgi id=52\&action=view | head
Content-length: 2012
Content-disposition="inline; filename=diff.u
"
Content-Type: text/plain; name="diff.u"

Index: walletOverlay.js
===================================================================
RCS file: /cvsroot/mozilla/extensions/wallet/resources/content/walletOverlay.js,
v
retrieving revision 1.20
diff -u -r1.20 walletOverlay.js
Attached patch PatchSplinter Review
Yep, that was it.  This fixes the problem.
This is a regression of bug 201816.
Blocks: 201816
Comment on attachment 122809 [details] [diff] [review]
Patch

Yup, this fixes it. r=myk
Attachment #122809 - Flags: review+
Flags: approval+
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: