Content copyright © 2006-2007 by eZ systems A.S.
|
|
|
|
Description:
Cookies are a Web/Http specific thing, so upfront making them part of request and response is a double-edged sword. Nevertheless since their variables in the struct can be empty its not that big an issue. What makes me wonder: ezcMvcResponse has a cookies variable for cookies to be send to the user. ezcMvcRequest has no cookies variable. That is you have to use $_COOKIE and what I find a bit dangerous: $request->variables uses a reference to $_REQUEST which is not obvious upfront and may lead to security problems that a user of ezcMvcRequest does not realize. Environment: Operating System: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||