wiserain / rclone

"rsync for cloud storage" - Google Drive, Amazon Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Cloudfiles, Google Cloud Storage, Yandex Files
https://rclone.org
MIT License
82 stars 13 forks source link

115 - failure if folder name with curly brackets #12

Closed sjtuross closed 2 months ago

sjtuross commented 2 months ago

Thank you for allowing opening issues and your work about 115.

If I create a folder with curly brackets in the name, it fails like below.

./rclone mkdir "115:temp/Moon Knight (2022) {tmdb-92749}"
2024/07/07 22:49:28 Failed to create file system for "115:temp/Moon Knight (2022) {tmdb-92749}": 115: failed checking filetype: API State false: 参数错误。 (990002)

I suspect it could be caused by this regular expression. Would you mind taking a look?

https://github.com/wiserain/rclone/blob/344fbf019d068e2a456daab31a2c0ad3108c5914/backend/115/mod.go#L16

sjtuross commented 2 months ago

Oops, I see it's resolved in the latest build. Thanks a lot!