diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-30 15:16:52 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-30 15:16:52 +0000 |
commit | f1f8be0b98eb76f47849cd5e9390929b37f3200c (patch) | |
tree | 9b5c83fdd867f83cba795f3e6c50b62fd91f1eb9 /file.c | |
parent | [w3m-dev 02933] segmentation fault when w3m -dump https: (diff) | |
download | w3m-f1f8be0b98eb76f47849cd5e9390929b37f3200c.tar.gz w3m-f1f8be0b98eb76f47849cd5e9390929b37f3200c.zip |
[w3m-dev 02934] add auth cookie with unquoted realm
* file.c (loadGeneralFile): need unquote realm
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.51 2002/01/30 15:08:48 ukai Exp $ */ +/* $Id: file.c,v 1.52 2002/01/30 15:16:52 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -1533,7 +1533,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, } if (add_auth_cookie_flag) /* If authorization is required and passed */ - add_auth_cookie(pu.host, pu.port, realm->ptr, ss); + add_auth_cookie(pu.host, pu.port, qstr_unquote(realm)->ptr, ss); if (status == HTST_CONNECT) { of = &f; goto load_doc; |