aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-02-03 16:15:31 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-02-03 16:15:31 -0800
commit6f87164f3c3bfd918a5bf571e2da6ec73cb9ea57 (patch)
treecbcc94182f5f216433614991d68a691e77219b1b /src/core/surface
parentefda009e24273b1b918eb60dbd542e5b2e33c478 (diff)
Properly handle "." in metadata
Diffstat (limited to 'src/core/surface')
-rw-r--r--src/core/surface/validate_metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/surface/validate_metadata.c b/src/core/surface/validate_metadata.c
index df2e80b4b7..bf4126867f 100644
--- a/src/core/surface/validate_metadata.c
+++ b/src/core/surface/validate_metadata.c
@@ -50,7 +50,7 @@ static int conforms_to(const char *s, size_t len, const uint8_t *legal_bits) {
int grpc_header_key_is_legal(const char *key, size_t length) {
static const uint8_t legal_header_bits[256 / 8] = {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xff, 0x03, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xff, 0x03, 0x00, 0x00, 0x00,
0x80, 0xfe, 0xff, 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
if (length == 0) {