From 7a0f9a272fc1f885ff3a5bebcbaf88ae0a43823f Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 11 Aug 2008 12:25:01 +0200 Subject: Update HTTPClient to encode posted variable names darcs-hash:20080811102501-f07c6-5e66b06f303ea9945a22f6636c1f1210089a1aa1.gz --- inc/HTTPClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/HTTPClient.php') diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php index 3d843c912..8ff206444 100644 --- a/inc/HTTPClient.php +++ b/inc/HTTPClient.php @@ -479,7 +479,7 @@ class HTTPClient { function _postEncode($data){ foreach($data as $key => $val){ if($url) $url .= '&'; - $url .= $key.'='.urlencode($val); + $url .= urlencode($key).'='.urlencode($val); } return $url; } -- cgit v1.2.3