Closed
Bug 699660
Opened 13 years ago
Closed 13 years ago
application/x-jar and application/java-archive attachments should be automatically converted to jar: URLs
Categories
(Bugzilla :: Attachments & Requests, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 385338
People
(Reporter: roc, Unassigned)
Details
Firefox can display zip/jar files directly, using the jar: URL scheme, e.g.: jar:https://bug699351.bugzilla.mozilla.org/attachment.cgi?id=571611!/test-displayport/
It would be very useful if zip/jar attachments were presented with a clickable jar: link so that Firefox users can browse those attachments easily.
Reporter | ||
Comment 1•13 years ago
|
||
Also, bugzilla's URL highlighting should understand the jar: scheme.
Comment 2•13 years ago
|
||
We can't do it for application/x-zip and application/zip because of MFSA 2007-37.
Summary: application/x-zip, application/zip and application/java-archive attachments should be automatically converted to jar: URLs → application/x-jar and application/java-archive attachments should be automatically converted to jar: URLs
Reporter | ||
Comment 3•13 years ago
|
||
Bugzilla can just serve files with those types as application/java-archive.
Comment 4•13 years ago
|
||
Is it required as a built-in Bugzilla feature?
Posters can easily set the attachment mime-type to application/java-archive if they want to view the contents on Bugzilla.
Reporter | ||
Comment 5•13 years ago
|
||
The main goal of my request is to provide an easy URL to browser the JAR file. I know how to synthesize such a URL, but most people don't (and I have to do it by hand).
Also, people don't know about Firefox's ability to view JAR files, so they usually use application/zip or application/x-zip as the MIME type, not application/java-archive, so fixing that up when serving the file would be useful too. Currently I have to edit their attachment type manually.
Comment 6•13 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #5)
> The main goal of my request is to provide an easy URL to browser the JAR
> file. I know how to synthesize such a URL, but most people don't (and I have
> to do it by hand).
I'm fine with that.
> Also, people don't know about Firefox's ability to view JAR files, so they
> usually use application/zip or application/x-zip as the MIME type, not
> application/java-archive, so fixing that up when serving the file would be
> useful too. Currently I have to edit their attachment type manually.
I don't agree with that. I can no longer offer the zip file for download if Bugzilla overwrite the mime-type forcefully.
What about adding a checkbox such as "View the zip file in the browser"?
![]() |
||
Comment 7•13 years ago
|
||
Duping to bug 385338 which has a long history about this topic. No need for a separate bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•