Patch for Squid bug #1857, obtained from Squid bugzilla 2007-01-15. --- src/ftp.c.orig Sun Feb 26 00:34:13 2006 +++ src/ftp.c Mon Jan 15 19:46:29 2007 @@ -441,7 +441,7 @@ ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->old_filepath) : "."); } else if (ftpState->typecode == 'D') { const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; - storeAppendPrintf(e, "[As extended directory]\n", html_quote(path)); + storeAppendPrintf(e, "[As extended directory]\n", rfc1738_escape_part(path)); } storeAppendPrintf(e, "