#013920: Question of intereset: Cookies part of response, but not of request?

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:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):


- Attachments

No attachments for this issue.


- Comments

Fixed in rev. 9576.

#259383 by Derick Rethans on December 9th, 2008 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Components » MvcTools
Affects Unknown
Fix Version 2008.2RC1 - eZ components 2008.2RC1
Reporter Benjamin Eberlei
Responsible Derick Rethans
Status 0 Closed
Resolution Fixed
Created November 7th, 2008
Updated December 9th, 2008
Resolved December 9th, 2008
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels