diff options
author | Jan Schlüter <github@jan-schlueter.de> | 2019-04-08 00:02:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 00:02:18 +0200 |
commit | 09e14ee3a325860308f5bccf57f3735bdc105414 (patch) | |
tree | 967c84df7510d3e378d728e29755ad607ea46b57 | |
parent | f01694469e873e4d3ef61ed1f9afd19135fafa69 (diff) | |
download | twinkle-09e14ee3a325860308f5bccf57f3735bdc105414.tar twinkle-09e14ee3a325860308f5bccf57f3735bdc105414.tar.gz twinkle-09e14ee3a325860308f5bccf57f3735bdc105414.tar.lz twinkle-09e14ee3a325860308f5bccf57f3735bdc105414.tar.xz twinkle-09e14ee3a325860308f5bccf57f3735bdc105414.zip |
Case insensivity in WWW-Authenticate header
-rw-r--r-- | src/parser/scanner.lxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/scanner.lxx b/src/parser/scanner.lxx index e18c4f1..193b9a8 100644 --- a/src/parser/scanner.lxx +++ b/src/parser/scanner.lxx @@ -131,7 +131,7 @@ WORD_SYM [[:alnum:]\-\.!%\*_\+\`\'~\(\)<>:\\\"\/\[\]\?\{\}] ^User-Agent { return T_HDR_USER_AGENT; } ^(Via)|v { return T_HDR_VIA; } ^Warning { return T_HDR_WARNING; } -^WWW-Authenticate { return T_HDR_WWW_AUTHENTICATE; } +^[Ww][Ww][Ww]-[Aa]uthenticate { return T_HDR_WWW_AUTHENTICATE; } ^{TOKEN_SYM}+ { yylval.yyt_str = new string(yytext); MEMMAN_NEW(yylval.yyt_str); return T_HDR_UNKNOWN; } |