Bug #40625

InvalidArgumentException thrown in file Headers.php

Added by Ferdinand Kuhl almost 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:2012-09-04
Priority:-- undefined -- Due date:
Assigned To:Robert Lemke % Done:

0%

Category:Http
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:Git 1.2 (master)

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

duplicates TYPO3.Flow - Bug #40626: Cookie - Setting throws exception in Http\Response Resolved 2012-09-04

History

#1 Updated by Ferdinand Kuhl almost 3 years ago

Sorry this is an duplicate of #40626.

Pressed the buttons in wrong order. :(

#2 Updated by Robert Lemke almost 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF