diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-01 05:01:47 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-01 05:01:47 +0000 |
commit | 6ab7851b7969affc130a524605968d01bff53acc (patch) | |
tree | 7f15d5c1fce585a50ee019ea35b05473a72b71df | |
parent | [w3m-dev 02961] halfdump image is not consistent (diff) | |
download | w3m-6ab7851b7969affc130a524605968d01bff53acc.tar.gz w3m-6ab7851b7969affc130a524605968d01bff53acc.zip |
[w3m-dev 02968] fix problem with Netscape-Enterprise WWW-authenticate
* file.c (findAuthentication): token is case insensitive
From: Fumitoshi UKAI <ukai@debian.or.jp>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | file.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -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 @@ -2699,4 +2704,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.289 2002/01/31 18:40:14 ukai Exp $ +$Id: ChangeLog,v 1.290 2002/02/01 05:01:47 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.57 2002/01/31 18:40:16 ukai Exp $ */ +/* $Id: file.c,v 1.58 2002/02/01 05:01:47 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -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); |