HEAD requests for ftp URLs always return 200 OK even if not OK

Bug #59332 reported by Christian Reis
6
Affects Status Importance Assigned to Milestone
Squid
Fix Released
Medium
squid (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Salgado was checking if it'd be possible to use squid to proxy FTP HEAD requests for me, and although it is handled in src/ftp.c, using libwww-perl's GET to issue a HEAD request to FTP files always gives me a 200 OK response regardless of whether the file exists or not.

Revision history for this message
Christian Reis (kiko) wrote :

This has a fix upstream; it also is required for us to be able to support FTP mirrors correctly in the Soyuz mirror management tool.

Changed in squid:
importance: Untriaged → High
Changed in squid:
status: Unknown → In Progress
Revision history for this message
Guilherme Salgado (salgado) wrote :

I've tried the upstream patch and it works fine.

Changed in squid:
status: In Progress → Fix Released
Revision history for this message
Paul Dufresne (paulduf) wrote :

Confirming, since patch is given by upstream and works.

Changed in squid:
status: Unconfirmed → Confirmed
Revision history for this message
Guilherme Salgado (salgado) wrote :

It's a long time since this was fixed upstream, can anybody check whether feisty includes this fix or not?

Revision history for this message
Christian Reis (kiko) wrote :

The fix was first included in squid-2.6.STABLE4, released on Fri, Sep 29th 2006.

Revision history for this message
Christian Reis (kiko) wrote :

http://www.squid-cache.org/Versions/v2/2.6/changesets/SQUID_2_6_STABLE4.html

I'm not sure what the current version of Squid is based upon. Apt tells me:

Package: squid
Version: 2.6.1-3ubuntu1.3

Revision history for this message
Mathias Gug (mathiaz) wrote :

Thanks taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Gutsy Gibbon.

If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "How to request new packages" at https://help.ubuntu.com/community/UbuntuBackports#request-new-packages .

As mentioned above the fix was first included in squid-2.6.STABLE4, which corresponds to 2.6.4-1 (see debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389536). Gutsy and Feisty have a more recent version of the package.

Changed in squid:
status: Confirmed → Fix Released
Changed in squid:
status: Fix Released → Unknown
Changed in squid:
status: Unknown → Fix Released
Changed in squid:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.