commit 393695678d5cfc8c82692fa4f804057b7af47aa4
parent 4680e07c37a6d172e544b86613f6b68919fb0d76
Author: ukai <ukai>
Date: Thu, 6 Dec 2001 15:44:41 +0000
[w3m-dev 02633]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,11 @@
2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp>
+ * [w3m-dev 02633]
+ * url.c (parseURL2): filename should be quoted here, because
+ it will be unquote() soon
+
+2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp>
+
* rename install.sh to install-sh
* XMakefile: s/install.sh/install-sh/
diff --git a/url.c b/url.c
@@ -1015,7 +1015,7 @@ parseURL2(char *url, ParsedURL *pu, ParsedURL *current)
char abs[_MAX_PATH];
_abspath(abs, pu->file, _MAX_PATH);
- pu->file = cleanupName(abs);
+ pu->file = file_quote(cleanupName(abs));
}
}
#else
@@ -1029,7 +1029,7 @@ parseURL2(char *url, ParsedURL *pu, ParsedURL *current)
if (Strlastchar(tmp) != '/')
Strcat_char(tmp, '/');
Strcat_charp(tmp, pu->file);
- pu->file = cleanupName(tmp->ptr);
+ pu->file = file_quote(cleanupName(tmp->ptr));
}
#endif
else if (pu->scheme == SCM_HTTP