w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit d1af0dccf203e2dd4a820bae49aef2fe397b91b0
parent 74644bc96321816da6f0b5453701dee99dbb6607
Author: ukai <ukai>
Date:   Fri,  1 Feb 2002 05:01:47 +0000

[w3m-dev 02968] fix problem with Netscape-Enterprise WWW-authenticate
* file.c (findAuthentication): token is case insensitive
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 5+++++
Mfile.c | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-01 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02968] fix problem with Netscape-Enterprise WWW-authenticate + * file.c (findAuthentication): token is case insensitive + 2002-02-01 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> * [w3m-dev 02961] halfdump image is not consistent diff --git a/file.c b/file.c @@ -1251,7 +1251,7 @@ findAuthentication(struct http_auth *hauth, Buffer *buf, char *auth_field) SKIP_BLANKS(p); p0 = p; for (ha = &www_auth[0]; ha->scheme != NULL; ha++) { - if (strncmp(p, ha->scheme, strlen(ha->scheme)) == 0) { + if (strncasecmp(p, ha->scheme, strlen(ha->scheme)) == 0) { if (hauth->pri < ha->pri) { *hauth = *ha; p += strlen(ha->scheme);