Bug #40626

Cookie - Setting throws exception in Http\Response

Added by Ferdinand Kuhl about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Http
Start date:
2012-09-04
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.4
Has patch:
No
Complexity:
medium

Description

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.


Related issues

Has duplicate TYPO3.Flow - Bug #40625: InvalidArgumentException thrown in file Headers.phpClosedRobert Lemke2012-09-04

Actions

Also available in: Atom PDF