Red Hat Bugzilla – Bug 119552
curl's cookie parser does not work properly on some urls
Last modified: 2007-11-30 17:07:01 EST
Description of problem:
I have experienced a strange behaviour of curl. In this version, when
connecting to a certain website, it does not retain the received
cookies and when a 302 Location header is returned, curl does not use
the received cookies. I have tried it on a different website, and
that does not display the problem. I however tried the same command
on AS2.1 (AS2.1 uses an older curl version), and that works as
expected (so no issue!). I therefore suspect the used version of curl
in AS3 contains a bug that is not present in earlier (and later)
I have tested the curl version on a different (non-RedHat) platform
and it showed the same issue. A later version (7.11.0) was ok.
I therefore kindly request RedHat to issue an update for the curl
package for RedHat Enterprise Linux.
Example of headers are attached. The username and password has been
xxx-ed. They are however available on request.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
With curl-7.10.6 try: curl -L -k -v -c /tmp/cookies --
referer 'https://bs7pscw1.bbned.nl/' -
.bbned.nl/siteminderagent/forms/login2.fcc" and view the headers (see
attachment) The cookie is not used in the second request, but should.
See attachment headers-curl-7.10.6.log
See attachment headers-curl-7.11.0.log
Created attachment 98997 [details]
headers using the curl version that is used with RHEL3
Created attachment 98998 [details]
headers using a newer curl version than the one that is used with RHEL3