Skip to content

Commit

Permalink
Do not allow '@' in :authority or host field value
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Oct 19, 2024
1 parent d10bb5f commit a1c3c7f
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 a1c3c7f

Please sign in to comment.