Using local language in name of file

Description

Hi!
I have local installation of rocket.chat. When I load file which name (Мессенджер ТЗ.docx) written by russian upload work without problems. But when I download the file it dosen’t work. I see that te link https://<example.com>/file-upload/5B4YPLQbirHJHWdtH/Мессенджер%20ТЗ.docx has russian symbols but they should be changed.

Does anyone see a similar problem? Maybe with a different language …

Server Setup Information

  • Version of Rocket.Chat Server: 3.6.1 or 3.8.1
  • Operating System: Mac OS
  • Deployment Method: docker 2.4
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.8
  • MongoDB Version: 4.0
  • Proxy: apache
  • Firewalls involved:

Any additional Information

It’s work equal if i use FileSystem of GridFS.

Thanks in Advance.

After upgrade Version of Rocket.Chat Server to: 3.9.2
Anybody has solution for the problem?
When i download file I get the message about error in log:

Exception in callback of async function: URIError: URI malformed
at decodeURI (<anonymous>)
at Router.match (/app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect-route/lib/connect-route.js:61:12)
at /app/bundle/programs/server/npm/node_modules/meteor/simple_json-routes/node_modules/connect-route/lib/connect-route.js:102:24
at runWithEnvironment (packages/meteor.js:1286:24)
at packages/meteor.js:1299:14
at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40