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


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.


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