Skip to content

Commit

Permalink
Add notice for metadata value validation (tus#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
nigoroll authored Sep 16, 2020
1 parent 5646c29 commit f0fadd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ ASCII encoded and the value MUST be Base64 encoded. All keys MUST be unique.
The value MAY be empty. In these cases, the space, which would normally separate
the key and the value, MAY be left out.

Since metadata can contain arbitrary binary values, Servers SHOULD
carefully validate metadata values or sanitize them before using them
as header values to avoid header smuggling.

#### Requests

##### POST
Expand Down

0 comments on commit f0fadd5

Please sign in to comment.