Issues

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

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

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