w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit ee7448344417f51b447a28b7b9e65efc9ce22053
parent 98e0e43d4f0905fb113d621d06bdfe2ac30fe358
Author: inu <inu>
Date:   Thu, 19 Apr 2007 12:07:02 +0000

quote URLs with non-ASCII local directory names. [w3m-dev 04212]

Diffstat:
MChangeLog | 5+++++
Mlocal.c | 3++-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -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. diff --git a/local.c b/local.c @@ -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);