commit 3c4d4b6b072d61cf115835e5604f04b2fe488fd0
parent b5bc6e1b4855df7975de76c2348f3a487ec23dc6
Author: inu <inu>
Date: Thu, 13 Mar 2003 15:15:40 +0000
treatment for "%7E" is added to expandName()
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-13 Dai Sato <satodai@dog.intcul.tohoku.ac.jp>
+
+ * etc.c: treatment for "%7E" is added to expandName()
+
2003-03-13 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03819] support cd build && ../configure
diff --git a/etc.c b/etc.c
@@ -1552,7 +1552,9 @@ expandName(char *name)
return NULL;
p = name;
if (*p == '/') {
- if (*(p + 1) == '~' && IS_ALPHA(*(p + 2)) && personal_document_root) {
+ if ( (*(p + 1) == '~' && IS_ALPHA(*(p + 2)) )
+ || ( strncmp( p+1, "%7", 2 ) == 0 && tolower( *(p+3) ) == 'e' )
+ && personal_document_root) {
char *q;
p += 2;
q = strchr(p, '/');