Skip to content

Commit 499d54e

Browse files
authored
Issue 17509 (#17511)
Updates KV docs to clarify that only exact matches of `.` and `..` are prohibited in keys. Signed-off-by: Rob Sutter <[email protected]>
1 parent 9b628e5 commit 499d54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/kv/api/write-key-value-pairs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ env.NAMESPACE.put(key, value, options?);
4848
#### Parameters
4949
5050
- `key`: `string`
51-
- The key to associate with the value. A key cannot be empty, have a `.` or `..`. All other keys are valid. Keys have a maximum length of 512 bytes.
51+
- The key to associate with the value. A key cannot be empty or be exactly equal to `.` or `..`. All other keys are valid. Keys have a maximum length of 512 bytes.
5252
- `value`: `string` | `ReadableStream` | `ArrayBuffer`
5353
5454
- The value to store. The type is inferred. The maximum size of a value is 25 MiB.

0 commit comments

Comments
 (0)