Subversion Repositories Applications.referentiel

Rev

Rev 19 | Rev 38 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19 Rev 34
Line 238... Line 238...
238
	 * Parse the HTTP request data.
238
	 * Parse the HTTP request data.
239
	 * @return str[] Array of name value pairs
239
	 * @return str[] Array of name value pairs
240
	 */
240
	 */
241
	private function parseRequestData() {
241
	private function parseRequestData() {
242
		$values = array();
242
		$values = array();
243
		$pairs = explode('&', $this->requestData);
243
		$pairs = explode(self::$config['settings']['argSeparatorInput'], $this->requestData);
244
		foreach ($pairs as $pair) {
244
		foreach ($pairs as $pair) {
245
			$parts = explode('=', $pair);
245
			$parts = explode('=', $pair);
246
			if (isset($parts[0]) && isset($parts[1])) {
246
			if (isset($parts[0]) && isset($parts[1])) {
247
				$parts[1] = rtrim(urldecode($parts[1]));
247
				$parts[1] = rtrim(urldecode($parts[1]));
248
				$values[$parts[0]] = $parts[1];
248
				$values[$parts[0]] = $parts[1];