From d82c8ade57fddb79977ce1e6a7b6eaa4e6763223 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Mon, 3 Nov 1997 23:05:23 +0000 Subject: [PATCH] From: Henrik Nordstrom Here is a small patch to squid-1.2.beta4 to support %nn escapes in FTP URLs... (all code was already there but never called...) --- src/ftp.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ftp.cc b/src/ftp.cc index 92fcdc5a25..b8a81d47bf 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.161 1997/10/30 06:18:55 wessels Exp $ + * $Id: ftp.cc,v 1.162 1997/11/03 16:05:23 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -1158,6 +1158,7 @@ ftpReadType(FtpStateData * ftpState) path = xstrdup(ftpState->request->urlpath); T = &ftpState->pathcomps; for (d = strtok(path, "/"); d; d = strtok(NULL, "/")) { + rfc1738_unescape(d); w = xcalloc(1, sizeof(wordlist)); w->key = xstrdup(d); *T = w; -- 2.47.2