diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-25 18:14:59 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-25 18:14:59 +0000 |
commit | 90150252ad18cd756c471f4324035833ee548a2a (patch) | |
tree | bb624a6948ec338c46b8938a543f9a510466305f /file.c | |
parent | [w3m-dev 02729] (diff) | |
download | w3m-90150252ad18cd756c471f4324035833ee548a2a.tar.gz w3m-90150252ad18cd756c471f4324035833ee548a2a.zip |
[w3m-dev 02732] fix Debian Bug#126381 - Passwords entered for HTTPS are used for HTTP
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.33 2001/12/25 16:49:42 ukai Exp $ */ +/* $Id: file.c,v 1.34 2001/12/25 18:15:00 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -901,7 +901,7 @@ getAuthCookie(char *realm, char *auth_header, TextList *extra_header, * extra_header */ } else - ss = find_auth_cookie(pu->host, realm); + ss = find_auth_cookie(pu->host, pu->port, realm); if (ss == NULL) { /* input username and password */ sleep(2); @@ -1203,7 +1203,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, } if (add_auth_cookie_flag) /* If authorization is required and passed */ - add_auth_cookie(pu.host, realm->ptr, ss); + add_auth_cookie(pu.host, pu.port, realm->ptr, ss); if (status == HTST_CONNECT) { of = &f; goto load_doc; |