mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
min command length
This commit is contained in:
@ -1205,6 +1205,9 @@ namespace NSDoctRenderer
|
||||
|
||||
bool ExecuteCommand(const std::wstring& command)
|
||||
{
|
||||
if (command.length() < 7) // minimum command (!!!)
|
||||
return true;
|
||||
|
||||
Init();
|
||||
|
||||
if (-1 == m_nFileType)
|
||||
|
||||
Reference in New Issue
Block a user