-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPMRPP-84002 attachment file name #1758
Conversation
…into EPMRPP-84002_attachment_file_name � Conflicts: � build.gradle
…into EPMRPP-84002_attachment_file_name � Conflicts: � build.gradle
@@ -132,8 +132,7 @@ private void toResponse(HttpServletResponse response, BinaryData binaryData) { | |||
response.setContentType(binaryData.getContentType()); | |||
if (binaryData.getFileName() != null) { | |||
response.setHeader(HttpHeaders.CONTENT_DISPOSITION, | |||
String.format("attachment; filename=%s", binaryData.getFileName()) | |||
); | |||
"attachment; filename=\"" + binaryData.getFileName() + "\""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is longer than 100 characters (found 117).
@@ -132,8 +132,7 @@ private void toResponse(HttpServletResponse response, BinaryData binaryData) { | |||
response.setContentType(binaryData.getContentType()); | |||
if (binaryData.getFileName() != null) { | |||
response.setHeader(HttpHeaders.CONTENT_DISPOSITION, | |||
String.format("attachment; filename=%s", binaryData.getFileName()) | |||
); | |||
"attachment; filename=\"" + binaryData.getFileName() + "\""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains a tab character.
No description provided.