aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-06 15:44:41 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-06 15:44:41 +0000
commit8e1eed3dc174fd82b0b3a59f62d0aa3205f34625 (patch)
tree9ed4473904aab6ecf4f3023cee603026931815c4 /url.c
parentinstall.sh -> install-sh (diff)
downloadw3m-8e1eed3dc174fd82b0b3a59f62d0aa3205f34625.tar.gz
w3m-8e1eed3dc174fd82b0b3a59f62d0aa3205f34625.zip
[w3m-dev 02633]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--url.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/url.c b/url.c
index a5654e2..bc0381b 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.18 2001/12/03 18:15:12 ukai Exp $ */
+/* $Id: url.c,v 1.19 2001/12/06 15:44:41 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -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