cloudflare / cloudflare/developer-platform
🐛 BUG: Unable to put an object with a key containing '...' to R2
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Which Cloudflare product(s) does this pertain to?
R2
### What version of `Wrangler` are you using?
3.1.1
### What operating system are you using?
Linux
### Describe the Bug
After I exec `wrangler r2 object put 'blog/assets/_...slug_.abcd1234.css' -f ./dist/assets/_...slug_.abcd1234.css`, it returned `Failed to fetch /accounts/*/r2/buckets/*/objects/assets/_...slug_.abcd1234.css - 403: Forbidden)`.
But when I changed the key into `blog/assets/_.slug_.abcd1234.css`, which has no consecutive '.', it just uploaded without any error.
I think it could be a bug of path handling because the original file (whose key contains three consecutive '.') could be uploaded in the R2 webpage.
Contributor guide
Assessment
This issue has not been assessed yet.