mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
Merge branch hotfix/v8.2.2 into develop
This commit is contained in:
@ -1579,8 +1579,6 @@ async function encryptPasswordParams(ctx, data) {
|
||||
dataWithPassword = data.message;
|
||||
} else if (data.type === 'auth' && data.openCmd) {
|
||||
dataWithPassword = data.openCmd;
|
||||
} else if (data.c === 'savefromorigin') {
|
||||
dataWithPassword = data;
|
||||
}
|
||||
if (dataWithPassword && dataWithPassword.password) {
|
||||
if (dataWithPassword.password.length > constants.PASSWORD_MAX_LENGTH) {
|
||||
|
||||
@ -1487,7 +1487,6 @@ exports.downloadAs = function(req, res) {
|
||||
yield* commandSave(ctx, cmd, outputData);
|
||||
break;
|
||||
case 'savefromorigin':
|
||||
yield docsCoServer.encryptPasswordParams(ctx, cmd);
|
||||
yield* commandSaveFromOrigin(ctx, cmd, outputData, row && row.password);
|
||||
break;
|
||||
case 'sendmm':
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
USE onlyoffice;
|
||||
-- USE onlyoffice;
|
||||
--
|
||||
-- Drop tables
|
||||
--
|
||||
DROP TABLE IF EXISTS `doc_callbacks`;
|
||||
DROP TABLE IF EXISTS `doc_changes`;
|
||||
DROP TABLE IF EXISTS `task_result`;
|
||||
DROP TABLE IF EXISTS `task_result`;
|
||||
|
||||
Reference in New Issue
Block a user