ZF2-254: Set-Cookie header missing setters in constructor
Description
The Set-Cookie header class is missing two setters in its constructor, path and httponly. The following fixes this:
+ if ($path) {
+ $this->setPath($path);
+ }
if ($secure) {
$this->setSecure($secure);
}
+ if ($httponly) {
+ $this->setHttponly($httponly);
+ }
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2012-04-04T14:59:21.000+0000
Fixed in Pull Request #1009: https://github.com/zendframework/zf2/pull/1009