Description of problem: A curl request send to an IPV6 address for HTTP GET with a cookie does not send the cookie in the request. However, if the cookie file is opened and the cookie is sent in the curl as "<cookie-name>=<hash>", then the cookie is sent correctly. The issue is however not seen when the request is sent to a V4 IP address. Version-Release number of selected component (if applicable): 2.6.25-FC9_32_CAV3 How reproducible: Assuming a cookie is present on the local system, curl -k -v http://[ipv6-address]/<file-name> -b <cookie-name> Steps to Reproduce: 1. 2. 3. Actual results: No cookie sent if the file name is mentioned in the request. Expected results: File name should also ensure that curl is able to pass the cookie in the GET request. Additional info:
(In reply to Narayanan Seshan from comment #0) > Description of problem: A curl request send to an IPV6 address for HTTP GET > with a cookie does not send the cookie in the request. However, if the > cookie file is opened and the cookie is sent in the curl as > "<cookie-name>=<hash>", then the cookie is sent correctly. The issue is > however not seen when the request is sent to a V4 IP address. Thank you for reporting the bug! > Version-Release number of selected component (if applicable): > 2.6.25-FC9_32_CAV3 There is no such version of curl in Fedora. I have backported the upstream fix: https://github.com/bagder/curl/commit/85b9dc80 ... via the following downstream commit: http://pkgs.fedoraproject.org/cgit/curl.git/commit/?id=b2b2c57e
curl-7.29.0-21.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/curl-7.29.0-21.fc19
Ok firstly, 2.6.25-FC9_32_CAV3 is not the version of Curl!! Its the Fedora version that I am running. Secondly, the version of Curl is curl 7.18.1. So I request you to please look at the bug and let me know if we can have a fix for the same.
The oldest supported Fedora release suffering from this bug is Fedora 19 and there is already an update submitted for this release. If you want to receive updates for your installation, you need to upgrade it to Fedora 19 (at least): https://fedoraproject.org/wiki/End_of_life Alternatively, you can rebuild the curl package yourself, using the above patch.
You might also find a recent version of curl built for your distribution from upstream's website: http://curl.haxx.se/download.html
Package curl-7.29.0-21.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing curl-7.29.0-21.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-8338/curl-7.29.0-21.fc19 then log in and leave karma (feedback).
curl-7.29.0-21.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
@Bogdan, please, include an example from our conversation and reopen it. Request header does not contain expected JSESSIONID key:value :-( Credit: Bogdan