Skip to content

Commit

Permalink
!hotfix: pdf fileName ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
daeun084 committed Sep 7, 2024
1 parent dcd33cf commit 7b0cb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/FITPET/dev/common/utils/ApachePdfUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 7b0cb6f

Please sign in to comment.