ZF2-108: SetCookie::getFieldValue() always uses urlencode() for cookie values, even in case they are already encoded

Issue Type: Bug Created: 2011-12-05T01:06:31.000+0000 Last Updated: 2012-10-08T20:15:37.000+0000 Status: Closed Fix version(s): Reporter: Denis Voytyuk (cabyrc) Assignee: Ralph Schindler (ralph) Tags: - Zend\Http

Related issues: Attachments:


In the following line:

$fieldValue = $this->getName() . '=' . urlencode($this->getValue());

SetCookie::getFieldValue() ignores the fact that cookies may come already encoded (for example from responses). As a result they are double encoded in this method and become invalid.


Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:37.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

Have you found an issue?

See the Overview section for more details.


© 2006-2021 by Zend by Perforce. Made with by awesome contributors.

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