[w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information upon reload (or almost anything else)

* etc.c (find_auth): add `file'
		check file as well
* etc.c (find_auth_cookie): add `file'
* etc.c (add_auth_cookie): add `file'
* file.c (AuthBasicCred): add "Basic "
* file.c (AuthDigestCred): add "Digest "
* file.c (getAuthCookie): if h_auth == NULL, get recorded cookie
* file.c (get_auth_cookie): get recorded cookie
* file.c (loadGeneralFile): don't clear add_auth_cookie_flag
			by redirection
	add_auth_cookie if authorization is required and passed
* fm.h (auth_cookie): add file
* ftp.c (openFTP): follow change auth_cookie
* proto.h (get_auth_cookie): added
* proto.h (find_auth_cookie): add `file'
* proto.h (add_auth_cookie): add `file'
* url.c (openURL): get_auth_cookie
From: Fumitoshi UKAI  <ukai@debian.or.jp>
This commit is contained in:
Fumitoshi UKAI
2002-02-19 15:50:17 +00:00
parent 8ebc9bc1fb
commit afbe346d3c
7 changed files with 77 additions and 27 deletions

3
fm.h
View File

@@ -1,4 +1,4 @@
/* $Id: fm.h,v 1.51 2002/02/19 15:25:19 ukai Exp $ */
/* $Id: fm.h,v 1.52 2002/02/19 15:50:18 ukai Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -600,6 +600,7 @@ struct html_feed_environ {
struct auth_cookie {
Str host;
int port;
Str file;
Str realm;
Str cookie;
struct auth_cookie *next;