You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Darrin Thompson <dt...@characterlink.net> on 1999/03/19 10:12:40 UTC

mod_proxy/4087: Fix for ftp proxy with spaces in filenames

>Number:         4087
>Category:       mod_proxy
>Synopsis:       Fix for ftp proxy with spaces in filenames
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 19 01:20:00 PST 1999
>Last-Modified:
>Originator:     dthompson@characterlink.net
>Organization:
apache
>Release:        1.3.4
>Environment:
I use Linux 2.2.3
>Description:
Problem was:
When viewing directory listings with ftp proxy and the first filename in the list contained spaces the links and filenames were all corrupted.

I found some more robust directory parsing code in the squid proxy. I rewrote it to work inside proxy_ftp.c .

I hope I'm not breaking squid's copyright by posting this.

My revised file is at:
ftp://ftp.characterlink.net/proxy/
>How-To-Repeat:
View an ftp directory using the Apache Proxy where the first filename in the list contains spaces.
>Fix:
ftp://ftp.characterlink.net/proxy
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]