mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 16:29:28 +00:00
Polishing
This commit is contained in:
@@ -199,7 +199,7 @@ public final class ContentDisposition {
|
||||
sb.append(this.name).append('\"');
|
||||
}
|
||||
if (this.filename != null) {
|
||||
if(this.charset == null || StandardCharsets.US_ASCII.equals(this.charset)) {
|
||||
if (this.charset == null || StandardCharsets.US_ASCII.equals(this.charset)) {
|
||||
sb.append("; filename=\"");
|
||||
sb.append(this.filename).append('\"');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user