Automattic / knox

S3 Lib
MIT License
1.74k stars 285 forks source link

File with parentheses in the name should not be encoded during signing #282

Open AChusuei opened 9 years ago

AChusuei commented 9 years ago

When signing a url using Knox.signedUrl(fileName, expires), a file name with parentheses has the parentheses encoded as %28 "(" and %29 ")" and produces a file name that doesn't work. If the parentheses encoding is replaced with the original parentheses, url then works.