Changeset 495
- Timestamp:
- 04/13/07 14:10:34 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/ipo/request/stubWebRequest.php
r425 r495 25 25 protected function doConstuct() 26 26 { 27 $this->unsecureParams = array_merge(array_map(array($this, 'stripslashes'), $_GET), array_map(array($this, 'stripslashes'), $_POST)); 28 foreach ($_SERVER as $key => $value) { 29 if (substr($key, 0, 5) == 'HTTP_' || substr($key, 0, 7) == 'REMOTE_') { 30 $this->unsecureHeaders[$key] = $value; 31 } 32 } 27 $this->unsecureParams = array_merge(array_map(array($this, 'stripslashes'), $_GET), array_map(array($this, 'stripslashes'), $_POST)); 28 $this->unsecureHeaders = $_SERVER; 33 29 $this->unsecureCookies = $_COOKIE; 34 30 }
