keystonejs-contrib / k6-contrib

Keyston-6 contrib
MIT License
35 stars 18 forks source link

Filename header error with special characters #25

Closed g012 closed 2 years ago

g012 commented 2 years ago

Hello,

Trying to send a file with name "Capture d’écran 2022-02-01 à 14.22.37.png", I get this error: ERROR: An error occured while resolving input fields.

The filename should probably be sanitized. Furthermore, it seems x-amz-meta prefix appears twice ; is this an issue as well ? Thanks !

vonba commented 2 years ago

I am also having this issue! Would love to see this solved, any plan to address this?

gautamsi commented 2 years ago

all PRs are welcome, I may not have time in next few weeks :(

gautamsi commented 2 years ago

s3 and s3-images packages now do not use this header

sfodor commented 1 year ago

The same filename "Capture d’écran 2022-02-01 à 14.22.37" seems to fail with Azure (@k6-contrib/fields-azure package) as well: x.file: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.

gautamsi commented 1 year ago

I will take a look and update that package as well. if you can send PR based on what was changed in s3 side, it will be much faster