From f1f8be0b98eb76f47849cd5e9390929b37f3200c Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 30 Jan 2002 15:16:52 +0000 Subject: [w3m-dev 02934] add auth cookie with unquoted realm * file.c (loadGeneralFile): need unquote realm From: Hironori Sakamoto --- ChangeLog | 7 ++++++- file.c | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b318733..a158411 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-01-31 Hironori Sakamoto + + * [w3m-dev 02934] add auth cookie with unquoted realm + * file.c (loadGeneralFile): need unquote realm + 2002-01-31 Hironori Sakamoto * [w3m-dev 02933] segmentation fault when w3m -dump https: @@ -2421,4 +2426,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.277 2002/01/30 15:08:48 ukai Exp $ +$Id: ChangeLog,v 1.278 2002/01/30 15:16:52 ukai Exp $ diff --git a/file.c b/file.c index 4a3b089..1f25f2b 100644 --- a/file.c +++ b/file.c @@ -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 #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; -- cgit v1.2.3