Changeset 1782
- Timestamp:
- 08/07/08 13:47:56 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework/trunk/src/main/php/net/stubbles/ipo/request/stubWebRequest.php
r1778 r1782 27 27 protected function doConstuct() 28 28 { 29 $this->unsecureParams = array_merge(array_map(array( __CLASS__, 'stripSlashes'), $_GET), array_map(array(__CLASS__, 'stripSlashes'), $_POST));29 $this->unsecureParams = array_merge(array_map(array($this, 'stripSlashes'), $_GET), array_map(array($this, 'stripSlashes'), $_POST)); 30 30 $this->unsecureHeaders = $_SERVER; 31 31 $this->unsecureCookies = $_COOKIE; … … 39 39 * @return string|array stripslashed' value 40 40 */ 41 p ublic staticfunction stripSlashes($value)41 private function stripSlashes($value) 42 42 { 43 43 if (is_array($value) === false) { … … 47 47 $tmp = array(); 48 48 foreach ($value as $id => $content) { 49 $tmp[$id] = self::stripslashes($content);49 $tmp[$id] = $this->stripslashes($content); 50 50 } 51 51
