|
@@ -168,7 +168,7 @@ public class LeviUtils {
|
|
|
}
|
|
|
|
|
|
public static void zipOutput(HttpServletResponse response, List<ByteArrayOutputStream> outs, List<String> fileNames, String zipName) throws IOException {
|
|
|
- File file = new File(zipName);
|
|
|
+ File file = new File(zipName + ".zip");
|
|
|
response.setContentType("application/force-download");
|
|
|
response.addHeader("Access-Control-Expose-Headers", "Content-Disposition");
|
|
|
response.setHeader("Content-Disposition", "attachment; filename=" + new String((file.getName() + ".zip").getBytes("UTF-8"), "ISO8859-1"));
|