Skip to content

Commit f0fadd5

Browse files
authored
Add notice for metadata value validation (#161)
1 parent 5646c29 commit f0fadd5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

protocol.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,10 @@ ASCII encoded and the value MUST be Base64 encoded. All keys MUST be unique.
330330
The value MAY be empty. In these cases, the space, which would normally separate
331331
the key and the value, MAY be left out.
332332

333+
Since metadata can contain arbitrary binary values, Servers SHOULD
334+
carefully validate metadata values or sanitize them before using them
335+
as header values to avoid header smuggling.
336+
333337
#### Requests
334338

335339
##### POST

0 commit comments

Comments
 (0)