Cookie - Setting throws exception in Http\Response
The "Set-Cookie" headers must be set via setCookie().
28 TYPO3\FLOW3\Http\Headers::set("Set-Cookie", "JSESSIONID=0000bpxjzMKKBYiEQM5yG5xd5CG:15rk67n7r; Path=/", boolean)
If the foreign webserver sends an header "Set-Cookie" FLOW3 throws an Exception, and breaks header - parsing. So no content from Servers sending cookies can be extracted.
Updated by Robert Lemke almost 9 years ago
- Status changed from New to Needs Feedback
- Priority changed from -- undefined -- to Should have
- Target version set to 1.1.1
- PHP Version set to 5.4
- Complexity set to medium
Thanks for the report. Can you give some more info about the steps to reproduce this bug? Were you using the Http\Client\Browser API?
Updated by Ferdinand Kuhl almost 9 years ago
Exactly. Together with curlEngine. (Where another bug is, that no host-header is sent - which violates HTTP/1.1 - Protocol, but I will open a new Issue with patch shortly for that)
But reproduction is possible if you use the Example from Http foundation together with this url:
$response = $this->browser->request('http://typo3.org/https-ajax/info/user.xml');