From 7b0cb6feeb73c2997615f5dfeff968ec7588914a Mon Sep 17 00:00:00 2001 From: daeun084 <030804jk@naver.com> Date: Sat, 7 Sep 2024 13:40:00 +0900 Subject: [PATCH] =?UTF-8?q?!hotfix:=20pdf=20fileName=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/FITPET/dev/common/utils/ApachePdfUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/FITPET/dev/common/utils/ApachePdfUtils.java b/src/main/java/FITPET/dev/common/utils/ApachePdfUtils.java index 312a5d5..a911fba 100644 --- a/src/main/java/FITPET/dev/common/utils/ApachePdfUtils.java +++ b/src/main/java/FITPET/dev/common/utils/ApachePdfUtils.java @@ -319,7 +319,7 @@ private ServletOutputStream setServletOutputStream(HttpServletResponse response, // 파일 이름 지정 String encodedFileName = encodePdfFileName(fileName); - response.setHeader("Content-Disposition", "attachment; filename=\"" + encodedFileName + ".pdf\"; filename*=UTF-8''" + encodedFileName + ".pdf"); + response.setHeader("Content-Disposition", "attachment; filename*=UTF-8''" + encodedFileName + ".pdf"); return response.getOutputStream(); } catch (IOException e){