Closed Bug 270765 Opened 20 years ago Closed 16 years ago

attachment.cgi could offer UI for viewing contents of ZIP attachments

Categories

(Bugzilla :: Attachments & Requests, enhancement)

x86
All
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 366227

People

(Reporter: WeirdAl, Unassigned)

Details

Suppose a user wants to attach multiple files in a ZIP archive.  However, if
another Bugzilla user wants to read the contents of the ZIP file, they must
download the entire ZIP file.

I believe there may be open-source Perl scripts which provide a HTML interface
to navigating the ZIP file.  Bugzilla could import the script, and through
various pieces of Perl scripting, pass the ZIP file to the script.  Then the
script takes responsibility for finding the requested file or directory within
the ZIP archive.  Alas, I don't know any such scripts (it's been a long time
since I actively hacked Perl... probably the last time was bug 111522).

justdave raises the point that this would intensify server load (retrieving the
ZIP from the attachments table in Bugzilla every time we have to find a dir or
file), but in his words would be "really cool".

Feel free to assign to me if you wish, bearing in mind that if you do, it would
probably take a very long time for me to fix it!  On the other hand, this would
allow me to make sure that other ZIP-based formats such as
application/x-xpinstall (Mozilla XPI files) could also be run through the ZIP
view generator.
QA Contact: mattyt-bugzilla → default-qa
Assignee: myk → attach-and-request
Not blocking, it's a dupe.
Status: NEW → RESOLVED
Closed: 16 years ago
No longer depends on: 366227
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.