tencentyun / cos-python-sdk-v4

Python SDK for COS v4
Apache License 2.0
38 stars 22 forks source link

maybe find a bug #20

Closed chmod740 closed 7 years ago

chmod740 commented 7 years ago

in file cos_auth.py

if upload_sign:
    fileid = '/%s/%s%s' % (appid, bucket, cos_path)
else:
    fileid = cos_path

I think the correct is: %s/%s%s -> %s/%s/%s

YuanBLQ commented 6 years ago

cos_path 是以根路径 / 开头的。