Issues

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:

Description

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.

Comments

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: https://github.com/zendframework/zf2/issues/2444

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts