shotgunsoftware / python-api

A Python-based library for accessing Flow Production Tracking API.
https://developer.shotgridsoftware.com/python-api
Other
306 stars 198 forks source link

Fix upload multibyte filename to shotgun s3 #239

Closed hmasato closed 4 months ago

hmasato commented 3 years ago

Hi,

We had some trouble uploading files (multibyte filename) to shotgun s3. The multibyte filename turns into garbled text. (sg_uploaded_movie, etc)

To avoid this, I fixed it as follows.

  1. urllib.parse.quote("")
  2. self._get_attachment_upload_info

Thanks.