[Webkit-unassigned] [Bug 16546] New: Problems in JIRA with Safari 3 and downloading .class attachments

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 20 17:36:32 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16546

           Summary: Problems in JIRA with Safari 3 and downloading .class
                    attachments
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mtokar at atlassian.com


This problem seems to be two-sided:

1) When uploading an attachment to JIRA with a .class extension using Safari 3,
the content-type (as inferred from the HTTP request by JIRA) is set to
application/octet-stream. The correct type should be application/java-vm or
application/java.

When uploading the same file using Firefox on Linux, the content type is set
correctly to application/java-vm, but when using Firefox on Mac, the
content-type is set to text/plain (!). Firefox on Windows yields the same
result as Safari 3 (application/octet-stream). Internet Explorer 6 yields
application/java.

2) This is more important. When downloading the above attachments using Safari
3, any attachment which does not have the "correct" content-type set
(application/java or application/java-vm) will become corrupted by Safari 3
when saving it to local disk. That is, the downloaded version will have the
same filesize as the original, but the MD5 sums will be different. This can be
easily verified:
i. upload a .class file with Safari 3. Observe the content-type of the stored
attachment (go to Manage Attachments for the issue)
ii. download the same attachment and compare the MD5 sums of the file you
uploaded versus the file you downloaded

We are tracking this as a JIRA issue at the following URL:
http://jira.atlassian.com/browse/JRA-14153

Note however that currently this issue is only visible to Atlassian staff, but
we will probably open it up now that we have confirmed it is not a JIRA issue
but an issue with Safari 3 / other browsers. Incidentally, the issue also
occurs in Confluence.

If you could please keep me posted about the progress of this issue, that would
be really helpful.

Thanks,
Michael Tokar [Atlassian]


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list