未验证 提交 11781d06 编写于 作者: J Javan Makhmali 提交者: GitHub

Merge pull request #38124 from weilandia/direct_upload_xls_in_chrome

Defaults content_type to application/octet-stream in blob_record.js
......@@ -550,7 +550,7 @@
this.file = file;
this.attributes = {
filename: file.name,
content_type: file.type,
content_type: file.type || "application/octet-stream",
byte_size: file.size,
checksum: checksum
};
......
......@@ -6,7 +6,7 @@ export class BlobRecord {
this.attributes = {
filename: file.name,
content_type: file.type,
content_type: file.type || "application/octet-stream",
byte_size: file.size,
checksum: checksum
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册