Skip to content

Commit

Permalink
Merge pull request #275 from ngtcp2/authority-at-sign
Browse files Browse the repository at this point in the history
Do not allow '@' in :authority or host field value
  • Loading branch information
tatsuhiro-t authored Oct 19, 2024
2 parents d10bb5f + a1c3c7f commit f5b3fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nghttp3_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static char VALID_AUTHORITY_CHARS[] = {
1 /* 4 */, 1 /* 5 */, 1 /* 6 */, 1 /* 7 */,
1 /* 8 */, 1 /* 9 */, 1 /* : */, 1 /* ; */,
0 /* < */, 1 /* = */, 0 /* > */, 0 /* ? */,
1 /* @ */, 1 /* A */, 1 /* B */, 1 /* C */,
0 /* @ */, 1 /* A */, 1 /* B */, 1 /* C */,
1 /* D */, 1 /* E */, 1 /* F */, 1 /* G */,
1 /* H */, 1 /* I */, 1 /* J */, 1 /* K */,
1 /* L */, 1 /* M */, 1 /* N */, 1 /* O */,
Expand Down

0 comments on commit f5b3fb4

Please sign in to comment.