Skip to content

Commit

Permalink
chore: provide changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
f5io committed Jun 14, 2022
1 parent f286c3c commit 9b62f68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/curly-lizards-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"wrangler": patch
---

fix: kv:key put binary file upload

As raised in https://github.com/cloudflare/wrangler2/issues/1254, it was discovered that binary uploads were being mangled by wrangler 2, whereas they worked in wrangler 1. This is because they were read into a string by providing an explicit encoding of `utf-8`. This fix reads provided files into a node `Buffer` that is then passed directly to the request.

0 comments on commit 9b62f68

Please sign in to comment.