fix(mgmt-perf): multer defParamCharset utf8로 업로드 파일명 디코딩
Made-with: Cursor
This commit is contained in:
@@ -569,6 +569,8 @@ const mgmtPerfStorage = multer.diskStorage({
|
||||
const uploadMgmtPerfExcel = multer({
|
||||
storage: mgmtPerfStorage,
|
||||
limits: { fileSize: 55 * 1024 * 1024 },
|
||||
/** Busboy 기본은 latin1; `filename="..."` 안의 UTF-8 바이트를 올바르게 UTF-8 문자열로 씁니다. */
|
||||
defParamCharset: "utf8",
|
||||
fileFilter: (_, file, cb) => {
|
||||
const ext = path.extname(file.originalname).toLowerCase();
|
||||
if (ext !== ".xlsx") {
|
||||
|
||||
Reference in New Issue
Block a user