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 --- file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file.c') 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