Bug 131061 - [site-issue] HTTP 302 replies are not followed
Summary: [site-issue] HTTP 302 replies are not followed
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-19 10:56 UTC by Jose Couto
Modified: 2007-12-29 21:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Couto 2006-07-19 10:56:22 UTC
Version:           3.5.3 (using KDE 3.5.3, Debian Package 4:3.5.3-1 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17

When I try to download software at the Cisco site, Konqueror shows the following page:

An error occurred while loading http://www.cisco.com/cgi-bin/Software/Tablebuild/doftp.pl?ftpfile=cisco/crypto/3DES/lan/catalyst/6000/fwsm/c6500fwsm-releasenote.3-1-2.pdf&app=Tablebuild:
Could not connect to host www.cisco.com.

Using an sniffer, I saw this GET request from konqueror (cookies and authorization removed):

GET /cgi-bin/Software/Tablebuild/doftp.pl?ftpfile=cisco/crypto/3DES/lan/catalyst/6000/fwsm/c6500fwsm-releasenote.3-1-2.pdf&app=Tablebuild HTTP/1.1 
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.3 (like Gecko) (Debian) 
Accept: text/html, image/jpeg, image/png, text/*, image/*, */* 
Accept-Encoding: x-gzip, x-deflate, gzip, deflate 
Accept-Charset: iso-8859-15, utf-8;q=0.5, *;q=0.5 
Accept-Language: en 
Host: www.cisco.com 
Cookie: <<REMOVED>> 
Authorization: Basic <<REMOVED>> 
Connection: Keep-Alive 
 
And this is the answer from Cisco's server:

HTTP/1.1 302 Moved 
Date: Wed, 19 Jul 2006 08:34:52 GMT 
Server: Apache/2.0 
location: https://www.cisco.com/cgi-bin/swc/front.x/Software/Crypto/crypto.cgi?file_name=cisco%2Fcrypto%2F3DES%2Flan%2Fcatalyst%2F6000%2Ffwsm%2Fc6500fwsm-releasenote.3-1-2.pdf&redirect_url=http%3A%2F%2Fwww.cisco.com%2Fcgi-bin%2FSoftware%2FTablebuild%2Fdoftp.pl%3Fftpfile%3Dcisco%2Fcrypto%2F3DES%2Flan%2Fcatalyst%2F6000%2Ffwsm%2Fc6500fwsm-releasenote.3-1-2.pdf%26app%3DTablebuild%26crypto%3D1%26redirect_url%3D 
Content-Length: 0 
Connection: close 
Content-Type: text/plain; charset=ISO-8859-1 
 
Konqueror does not make a new request as an answer to the 302 HTTP code. Mozilla behaves as expected, showing the download page.

Thank you for your efforts. Regards.
Comment 1 Jose Couto 2007-12-29 21:27:21 UTC
Cisco currently uses HTTP instead of HTTPS. I have not experienced this problem again.