Project

General

Profile

Actions

Bug #2081

closed

Patch to set zip filename to docid

Added by Saurabh Garg over 19 years ago. Updated over 19 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 #1

Updated by Saurabh Garg over 19 years ago

Added to the cvs. closing the bug.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2081

Actions

Also available in: Atom PDF