Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 446990

Summary: Attachment view page fails to show attachment contents
Product: Community Reporter: Mark Macdonald <mamacdon>
Component: BugzillaAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
screenshot of missing attachment contents none

Description Mark Macdonald CLA 2014-10-13 15:49:32 EDT
Created attachment 247847 [details]
screenshot of missing attachment contents

When someone adds an attachment to a bug I'm Cc'd on, a link like this is emailed to me:

> --- Comment #1 from Brian Svihovec <svihovec@us.ibm.com> ---
> Created attachment 247845 [details]
>  --> https://bugs.eclipse.org/bugs/attachment.cgi?id=247845&action=edit

Clicking the link takes you to a page that's supposed to show the attachment contents. But instead it shows an empty frame, and my browser's JS debug console spits out some errors: (Firefox 32)

> Load denied by X-Frame-Options: https://bugs.eclipse.org/bugs/attachment.cgi?id=247845 does not permit framing.
> Load denied by X-Frame-Options: https://bugs.eclipse.org/bugs/attachment.cgi?id=247845&action=diff&headers=0 does not permit framing.

It looks like the frame content is being served with headers that prevent it from being embedded here.
Comment 1 Eclipse Webmaster CLA 2014-10-14 11:57:45 EDT
I've updated the framing policy on bugs to be SAMEORIGIN.

-M.