ZF2-254: Set-Cookie header missing setters in constructor

Issue Type: Bug Created: 2012-04-04T11:16:57.000+0000 Last Updated: 2012-04-12T11:08:52.000+0000 Status: Resolved Fix version(s): Reporter: Chris Willis (macest) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend\Http

Related issues: Attachments:


The Set-Cookie header class is missing two setters in its constructor, path and httponly. The following fixes this:

<pre class="highlight">
+ if ($path) {
+     $this->setPath($path);
+ }

  if ($secure) {

+ if ($httponly) {
+     $this->setHttponly($httponly);
+ }


Posted by Adam Lundrigan (adamlundrigan) on 2012-04-04T14:59:21.000+0000

Fixed in Pull Request #1009:

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.