aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--file.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b318733..a158411 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-01-31 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 02934] add auth cookie with unquoted realm
+ * file.c (loadGeneralFile): need unquote realm
+
+2002-01-31 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 02933] segmentation fault when w3m -dump https:
* file.c (readHeader): use inputAnswer()
* file.c (getAuthCookie): remove term_cbreak()
@@ -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 <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;