aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-03-13 17:47:45 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-03-13 17:47:45 +0000
commit7af7c95614f207be3563c3afe412f156b56cd0ac (patch)
tree7783c5eb43f997f96afc5c099af56c3edfcd5d91 /url.c
parent[w3m-dev 03822] Re: etc.c: treatment for "%7E" is added to expandName() (diff)
downloadw3m-7af7c95614f207be3563c3afe412f156b56cd0ac.tar.gz
w3m-7af7c95614f207be3563c3afe412f156b56cd0ac.zip
[w3m-dev 03823] Re: etc.c: treatment for "%7E" is added to expandName()
* url.c (parseURL2): file unquote * etc.c (expandName): revert previous changes From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'url.c')
-rw-r--r--url.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/url.c b/url.c
index 560c7fd..07b6e32 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.74 2003/02/05 16:44:00 ukai Exp $ */
+/* $Id: url.c,v 1.75 2003/03/13 17:47:52 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -994,9 +994,9 @@ parseURL2(char *url, ParsedURL *pu, ParsedURL *current)
}
}
return;
- }
+ }n
if (pu->scheme == SCM_LOCAL)
- pu->file = expandName(pu->file);
+ pu->file = file_quote(expandName(file_unquote(pu->file)));
if (current && (pu->scheme == current->scheme ||
(pu->scheme == SCM_FTP && current->scheme == SCM_FTPDIR) ||