Automattic / knox

S3 Lib
MIT License
1.74k stars 285 forks source link

fix Sign for URLs containing spechial chars: !'()#*+? and non latin chars #335

Open victornikitin opened 3 years ago

victornikitin commented 3 years ago

Problem with get signed url to download file.

When file URL contains spechial chars, sign for it is created without converting these chars. Also the same problem is with non latin chars.

So file url and it url in sign are different. Because of that sign is incorrect. Issue: https://github.com/Automattic/knox/issues/334