Project

General

Profile

Actions

Bug #2081

closed

Patch to set zip filename to docid

Added by Saurabh Garg almost 19 years ago. Updated over 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
05/16/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2081

Description

Johnoel sent a some modification to code for action=export. The file which is
sent back to the user doesnt have .zip in the end and has a very generic name.

So Johnoel requested addition of this line of code in MetaCatServlet.java which
sets the name of the file to <docid>.zip

response.setHeader("Content-Disposition", "attachment; filename=" + docId
+ ".zip");

Actions

Also available in: Atom PDF