diff --git a/src/ChangeLog b/src/ChangeLog index 0bb0f1f19..12d087a1d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +Mon Oct 5 19:59:56 1998 Norbert Warmuth + + * main.c (translate_url_to_new_syntax): Translate ftp:// to an + absolute path instead of a relative path (fix to "hotlist" bug + reported by Andrej). This means we drop the "return to last dir" + feature for ftpfs (when leaving ftpfs with ".." returns to the + directory visited before entering the ftpfs). + Sat Oct 3 00:54:23 1998 Norbert Warmuth * gtkedit/Makefile.in (EDITOBJS): removed one wrong \\ (line diff --git a/src/main.c b/src/main.c index 758d054f3..525352f0b 100644 --- a/src/main.c +++ b/src/main.c @@ -907,13 +907,13 @@ directory_history_add (WPanel * panel, char *s) } /* Translate ftp://user:password@host/directory to - #ftp:user:password@host/directory. + /#ftp:user:password@host/directory. */ static char * translate_url_to_new_syntax (const char *p) { if (strncmp (p, "ftp://", 6) == 0) - return copy_strings ("#ftp:", p + 6, 0); + return copy_strings ("/#ftp:", p + 6, 0); else return strdup (p); }