[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:
10
proto.h
10
proto.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: proto.h,v 1.35 2002/02/05 12:31:27 ukai Exp $ */
|
||||
/* $Id: proto.h,v 1.36 2002/02/19 15:50:18 ukai Exp $ */
|
||||
/*
|
||||
* This file was automatically generated by version 1.7 of cextract.
|
||||
* Manual editing not recommended.
|
||||
@@ -128,6 +128,9 @@ extern char *acceptableEncoding();
|
||||
extern int dir_exist(char *path);
|
||||
extern Str convertLine(URLFile *uf, Str line, char *code, int mode);
|
||||
extern Buffer *loadFile(char *path);
|
||||
extern void get_auth_cookie(char *auth_header,
|
||||
TextList *extra_header, ParsedURL *pu,
|
||||
HRequest *hr, FormList *request);
|
||||
extern Buffer *loadGeneralFile(char *path, ParsedURL *current, char *referer,
|
||||
int flag, FormList *request);
|
||||
extern int is_boundary(int, int);
|
||||
@@ -512,8 +515,9 @@ extern Buffer *dirBuffer(char *dirname);
|
||||
extern void set_environ(char *var, char *value);
|
||||
extern FILE *localcgi_post(char *, char *, FormList *, char *);
|
||||
extern FILE *localcgi_get(char *, char *, char *);
|
||||
extern Str find_auth_cookie(char *host, int port, char *realm);
|
||||
extern void add_auth_cookie(char *host, int port, char *realm, Str cookie);
|
||||
extern Str find_auth_cookie(char *host, int port, char *file, char *realm);
|
||||
extern void add_auth_cookie(char *host, int port, char *file, char *realm,
|
||||
Str cookie);
|
||||
extern char *last_modified(Buffer *buf);
|
||||
extern Str romanNumeral(int n);
|
||||
extern Str romanAlphabet(int n);
|
||||
|
Reference in New Issue
Block a user