pldubouilh / gossa

🎶 a fast and simple multimedia fileserver
MIT License
883 stars 72 forks source link

Rename error when file name has special characters #40

Closed sunlewuyou closed 4 years ago

sunlewuyou commented 4 years ago

See log:

2020/02/20 12:32:01 error [rpc {mv [/油管_韩雪&鞠婧祎&原版三版《红昭愿》放在一起自见分晓.mp4 /韩雪&鞠婧祎&原版三版《红昭愿》放在一起自见分晓.mp4]}] rename /root/share/油管_韩雪&鞠婧祎&原版三版《红昭愿》放在一起自见分晓.mp4 /root/share/韩雪&鞠婧祎&原版三版《红昭愿》放在一起自见分晓.mp4: no such file or directory

Original file name: 油管_韩雪&鞠婧祎&原版三版《红昭愿》放在一起自见分晓.mp4

pldubouilh commented 4 years ago

indeed, it seems the & wasn't properly escaped, of all things :) I have a fix, I'll test it for a few days and push it out.

sunlewuyou commented 4 years ago

Thank you for your timely repair, this project will definitely help many people better!

pldubouilh commented 4 years ago

should be fixed, check v0.1.2

sunlewuyou commented 4 years ago

The test is normal, thank you!