From d02cc0c7de1154894ded7a4861bfea9790935cd2 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 16 Apr 2004 18:47:18 +0000 Subject: [w3m-dev 04064] authentication closes: Bug#:244029: w3m: HTTP basic authentication annoyance * fm.h (auth_cookie): deleted * proto.h (find_auth_cookie): deleted (add_auth_cookie): deleted (add_auth_user_passwd): added (invalidate_auth_user_passwd): added * etc.c (auth_pass): add bad flag delete file (dir_under): deleted (add_auth_pass_entry): add override flag no need to check file (find_auth_pass_entry): delete file check bad flag check uname (find_auth_user_passwd): find by pu->user (add_auth_user_passwd): added (invalidate_auth_user_passwd): added (parsePasswd): add no override ignore file (find_auth): deleted (find_auth_cookie): deleted (dump_auth_cookie): deleted (add_auth_cookie): deleted * file.c (getAuthCookie): add *uname, *pwd rewrite (loadGeneralFile): delete ss, add uname, pwd use add_auth_user_passwd instead of add_auth_cookie * url.c (HTTPrequest): don't authorization here it should be done in getAuthCookie in loadGeneralFile through extra_header * ftp.c (openFTPStream): add uname use find_auth_user_passwd instead of find_auth_cookie use add_auth_user_passwd instead of add_auth_cookie --- fm.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'fm.h') diff --git a/fm.h b/fm.h index 20d3ee4..6b45d3a 100644 --- a/fm.h +++ b/fm.h @@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.124 2003/10/05 18:52:51 ukai Exp $ */ +/* $Id: fm.h,v 1.125 2004/04/16 18:47:19 ukai Exp $ */ /* * w3m: WWW wo Miru utility * @@ -669,15 +669,6 @@ struct html_feed_environ { int blank_lines; }; -struct auth_cookie { - Str host; - int port; - Str file; - Str realm; - Str cookie; - struct auth_cookie *next; -}; - #ifdef USE_COOKIE struct portlist { unsigned short port; -- cgit v1.2.3