zbjdonald / synology-drive-api

Synology drive api python wrapper.
MIT License
61 stars 15 forks source link

synd.create_link error! Not support & character #19

Closed lucaswong closed 1 year ago

lucaswong commented 1 year ago

Hello,

I am trying to use (synd.create_link) function to get a unique file URL, but I found that if my folder includes & such as Anniversary Statements & Illustration then will show the below error message.

{"error":{"code":1000,"errors":{"line":61,"message":"use link failed"}},"success":false}

May I know is it possible to support "&" character when i call (synd.create_link) function?

Thank you.

lucaswong commented 1 year ago

I changed to ASCII Characters then this issue has been solved. Thank you.