Skip to content

Commit

Permalink
ensure ampersands are used in creating query strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Munz committed Oct 14, 2010
1 parent 3f20f40 commit 6ff3b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/kt_comm_layer.php
Expand Up @@ -83,7 +83,7 @@ private function select_ip_address($host, $port) {
public function gen_tracking_url($version, $msg_type, $params)
{
$params['ts'] = gmdate("Ymd.His");
$url = 'http://'.$this->m_host.":".$this->m_port."/api/".$version."/".$this->m_api_key."/".$msg_type."/?".http_build_query($params);
$url = 'http://'.$this->m_host.":".$this->m_port."/api/".$version."/".$this->m_api_key."/".$msg_type."/?".http_build_query($params,'','&');
return $url;
}

Expand Down

0 comments on commit 6ff3b77

Please sign in to comment.