From 308104b9f68f513dc68e5900dae24118e10c650b Mon Sep 17 00:00:00 2001 From: Chen Hongzhi Date: Wed, 18 Sep 2024 03:23:36 +0800 Subject: [PATCH] fix: Remove double quote from header name validation as per spec (#716) --- src/header/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/name.rs b/src/header/name.rs index ac46a207..09af1da1 100644 --- a/src/header/name.rs +++ b/src/header/name.rs @@ -1011,7 +1011,7 @@ const HEADER_CHARS: [u8; 256] = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // x 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 1x 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 2x - 0, 0, 0, b'!', b'"', b'#', b'$', b'%', b'&', b'\'', // 3x + 0, 0, 0, b'!', 0, b'#', b'$', b'%', b'&', b'\'', // 3x 0, 0, b'*', b'+', 0, b'-', b'.', 0, b'0', b'1', // 4x b'2', b'3', b'4', b'5', b'6', b'7', b'8', b'9', 0, 0, // 5x 0, 0, 0, 0, 0, b'a', b'b', b'c', b'd', b'e', // 6x