diff options
author | Dai Sato <satodai@w3m.jp> | 2007-04-19 12:07:02 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2007-04-19 12:07:02 +0000 |
commit | 5441e3a0aea53bfb7a1a65c9baf01999f6ebd93d (patch) | |
tree | 855a5a7456ced383f4a841fbd91199caf048b939 | |
parent | avoid conflicts between input_alt and img_alt, and fix calculation of labeled... (diff) | |
download | w3m-5441e3a0aea53bfb7a1a65c9baf01999f6ebd93d.tar.gz w3m-5441e3a0aea53bfb7a1a65c9baf01999f6ebd93d.zip |
quote URLs with non-ASCII local directory names. [w3m-dev 04212]
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | local.c | 5 |
2 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,10 @@ 2007-04-19 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 04212] quote URL of local dir + * local.c: quote URLs with non-ASCII local directory names. + +2007-04-19 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 04211] input type=image * file.c, html.[ch]: avoid conflicts between input_alt and img_alt. fix calculation of labeled line numbers when fold_line=1. @@ -8800,4 +8805,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.976 2007/04/19 12:00:37 inu Exp $ +$Id: ChangeLog,v 1.977 2007/04/19 12:07:02 inu Exp $ @@ -1,4 +1,4 @@ -/* $Id: local.c,v 1.33 2006/04/07 13:21:11 inu Exp $ */ +/* $Id: local.c,v 1.34 2007/04/19 12:07:04 inu Exp $ */ #include "fm.h" #include <string.h> #include <stdio.h> @@ -85,7 +85,8 @@ loadLocalDir(char *dname) Strcat_char(dirname, '/'); qdir = html_quote(Str_conv_from_system(dirname)->ptr); /* FIXME: gettextize? */ - tmp = Strnew_m_charp("<HTML>\n<HEAD>\n<BASE HREF=\"file://", qdir, + tmp = Strnew_m_charp("<HTML>\n<HEAD>\n<BASE HREF=\"file://", + html_quote(file_quote(dirname->ptr)), "\">\n<TITLE>Directory list of ", qdir, "</TITLE>\n</HEAD>\n<BODY>\n<H1>Directory list of ", qdir, "</H1>\n", NULL); |