anasty17 / mirror-leech-telegram-bot

Official Repository: Telegram bot which can download direct links, torrents, nzb, google drive, telegram document, any file/folder from rclone supported clouds, all yt-dlp supported sites and jdownloader supported sites, then upload them to google drive, telegram cloud or to one of rclone supported clouds
https://t.me/mltb_official_channel
GNU General Public License v3.0
3.43k stars 4.76k forks source link

Syntax error when uploading a file with a quotation mark using rclone #1657

Closed AlyafeiAli closed 10 months ago

AlyafeiAli commented 10 months ago

Describe the bug When I try to upload a file that has a quotation mark in its name, I get this error:
/bin/sh: 1: Syntax error: Unterminated quoted string.
The file's name in this case is: DHOne's Detective Conan Ranking.pdf.

Note: I don't get any errors when I try to upload the same file using gd.

To Reproduce Steps to reproduce the behavior:

  1. Upload using rclone a file that has a quotation mark in its name.

Expected behavior The file should upload normally, even if the name has a quotation mark in its name.

Additional context I can upload the same file using gd without any issues.

AlyafeiAli commented 10 months ago

nvm, worked fine after updating to the latest commit!
Thank you :)