Skip to content

Commit

Permalink
fix: Remove double quote from header name validation as per spec (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-hongzhi authored Sep 17, 2024
1 parent de89c5a commit 308104b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 308104b

Please sign in to comment.