Changeset 30253 in spip-zone for _plugins_/simpletest/simpletest/url.php
- Timestamp:
- Jul 27, 2009, 3:26:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/simpletest/simpletest/url.php
r24737 r30253 107 107 if (preg_match('/^([^\/]*)@(.*)/', $url, $matches)) { 108 108 $url = $prefix . $matches[2]; 109 $parts = split(":", $matches[1]);109 $parts = explode(":", $matches[1]); 110 110 return array( 111 111 urldecode($parts[0]), … … 185 185 $this->_raw = $raw; 186 186 $request = new SimpleGetEncoding(); 187 foreach ( split("&", $raw) as $pair) {187 foreach (explode("&", $raw) as $pair) { 188 188 if (preg_match('/(.*?)=(.*)/', $pair, $matches)) { 189 189 $request->add($matches[1], urldecode($matches[2]));
Note: See TracChangeset
for help on using the changeset viewer.