mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
ole object refactoring
This commit is contained in:
@ -72,7 +72,7 @@
|
||||
"utils_fonts_search_patterns": "*.ttf;*.ttc;*.otf",
|
||||
"resource_expires": 31536000,
|
||||
"limits_image_types_upload": "jpg;png;gif;bmp",
|
||||
"limits_image_types_copy": "jpg;png;gif;bmp;emf;wmf;svg;txt;bin"
|
||||
"limits_image_types_copy": "jpg;png;gif;bmp;emf;wmf;svg;bin"
|
||||
},
|
||||
"sql": {
|
||||
"type": "postgres",
|
||||
|
||||
@ -446,7 +446,7 @@ function* commandImgurls(conn, cmd, outputData) {
|
||||
if (constants.AVS_OFFICESTUDIO_FILE_UNKNOWN == format && urlParsed) {
|
||||
//bin, txt occur in ole object case
|
||||
var ext = pathModule.extname(urlParsed.pathname);
|
||||
if ('.bin' == ext || '.txt' == ext) {
|
||||
if ('.bin' == ext) {
|
||||
formatStr = ext.substring(1);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user