[w3m-dev 03644] Re: Other user can see local cookie.
* cookie.c (save_cookies): return if no_rc_dir * etc.c (tmpf_base): add cookie (tmpfname): use tmp_dir instead of rc_dir * file.c (loadGeneralFile): cookie is not passed via URL * fm.h (TMPF_COOKIE): incl (MAX_TMPF_TYPE): incl (no_rc_dir): added (tmp_dir): added (config_file): added * local.c (Local_cookie_file): added (writeLocalCookie): added (setLocalCookie): dont set environment LOCAL_COOKIE (localcgi_post): writeLocalCookie (localcgi_get): writeLocalCookie * main.c (config_filename): deleted (cmd_loadURL): arg FormList (main): rewrite config_file, rc (ldhelp): no cookie in URL (cmd_loadURL): arg FormList (goURL0): cmd_loadURL change (cmd_loadBuffer): cmd_loadURL change (adBmark): cookie is posted (follow_map): cmd_loadURL change (linkMn): cmd_loadURL change (reinit): init_rc change * proto.h (create_option_search_table): deleted (init_rc): no args * rc.c (create_option_search_table): static (init_rc): no args rewrite (optionpanel_src1): rewrite (load_option_panel): html_quote (panel_set_option): no_rc_dir * w3mbookmark.c: rewrite * w3mhelperpanel.c: rewrite * scripts/dirlist.cgi.in: rewrite * scripts/w3mhelp.cgi.in: rewrite * scripts/w3mmail.cgi.in: rewrite * scripts/multipart/multipart.cgi.in: rewrite From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
9
fm.h
9
fm.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: fm.h,v 1.102 2003/01/10 16:42:40 ukai Exp $ */
|
||||
/* $Id: fm.h,v 1.103 2003/01/15 17:13:22 ukai Exp $ */
|
||||
/*
|
||||
* w3m: WWW wo Miru utility
|
||||
*
|
||||
@@ -742,7 +742,8 @@ typedef struct http_request {
|
||||
#define TMPF_SRC 1
|
||||
#define TMPF_FRAME 2
|
||||
#define TMPF_CACHE 3
|
||||
#define MAX_TMPF_TYPE 4
|
||||
#define TMPF_COOKIE 4
|
||||
#define MAX_TMPF_TYPE 5
|
||||
|
||||
#define set_no_proxy(domains) (NO_proxy_domains=make_domain_list(domains))
|
||||
|
||||
@@ -1017,8 +1018,10 @@ global char UseGraphicChar init(TRUE);
|
||||
extern char alt_rule[];
|
||||
#endif /* not KANJI_SYMBOLS */
|
||||
extern char UseAltEntity;
|
||||
global int no_rc_dir init(FALSE);
|
||||
global char *rc_dir;
|
||||
global int rc_dir_is_tmp init(FALSE);
|
||||
global char *tmp_dir;
|
||||
global char *config_file init(NULL);
|
||||
|
||||
#ifdef USE_MOUSE
|
||||
global int use_mouse init(TRUE);
|
||||
|
Reference in New Issue
Block a user