diff options
author | Chris Smith <chris.eureka@jalakai.co.uk> | 2008-08-11 12:25:01 +0200 |
---|---|---|
committer | Chris Smith <chris.eureka@jalakai.co.uk> | 2008-08-11 12:25:01 +0200 |
commit | 7a0f9a272fc1f885ff3a5bebcbaf88ae0a43823f (patch) | |
tree | b153cc68998962389a42ad50fedefb4f6f892dbe | |
parent | a3beeb6351a31e881a67898af048517473b063c6 (diff) | |
download | rpg-7a0f9a272fc1f885ff3a5bebcbaf88ae0a43823f.tar.gz rpg-7a0f9a272fc1f885ff3a5bebcbaf88ae0a43823f.tar.bz2 |
Update HTTPClient to encode posted variable names
darcs-hash:20080811102501-f07c6-5e66b06f303ea9945a22f6636c1f1210089a1aa1.gz
-rw-r--r-- | inc/HTTPClient.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |