Project

General

Profile

Bug #2081

Patch to set zip filename to docid

Added by Saurabh Garg over 15 years ago. Updated about 15 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");

History

#1 Updated by Saurabh Garg about 15 years ago

Added to the cvs. closing the bug.

#2 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 2081

Also available in: Atom PDF