aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-19 15:50:17 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-19 15:50:17 +0000
commitafbe346d3ca5179817c1fc7573b15ea89695bab2 (patch)
tree4992af52f916ace73af961633ad07c64ac52ddd9 /url.c
parent[w3m-dev 03058] mailer (diff)
downloadw3m-afbe346d3ca5179817c1fc7573b15ea89695bab2.tar.gz
w3m-afbe346d3ca5179817c1fc7573b15ea89695bab2.zip
[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>
Diffstat (limited to 'url.c')
-rw-r--r--url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/url.c b/url.c
index 50db641..9f659db 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.43 2002/02/08 11:25:24 ukai Exp $ */
+/* $Id: url.c,v 1.44 2002/02/19 15:50:18 ukai Exp $ */
#include <stdio.h>
#include "config.h"
#include "fm.h"
@@ -1535,6 +1535,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
#ifdef USE_SSL
case SCM_HTTPS:
#endif /* USE_SSL */
+ get_auth_cookie("Authorization:", extra_header, pu, hr, request);
if (pu->file == NULL)
pu->file = allocStr("/", -1);
if (request && request->method == FORM_METHOD_POST && request->body)