Skip to content

Commit

Permalink
Merge pull request #70 from softeerbootcamp4th/fix/admin-logging-file…
Browse files Browse the repository at this point in the history
…name

[Fix] 로깅 조건 수정
  • Loading branch information
eckrin authored Aug 22, 2024
2 parents 2b790be + 1d61d02 commit 5357b82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public Collection<Part> getParts() {
List<Info> infos = parseMultipart(body, delimiter);
for(Info info: infos) {
// 파일이 아니라면 로깅을 위해 저장
if(!info.getHeaders().get(CONTENT_DISPOSITION_HEADER).contains("filename")) {
if(!info.getHeaders().get(CONTENT_DISPOSITION_HEADER).contains("name=\"file\"")) {
String partJson = new String(info.getBody());
putMdc(BODY_MDC, partJson);
}
Expand Down

0 comments on commit 5357b82

Please sign in to comment.