@@ -134,6 +134,10 @@ class Unirest
|
|||||||
$query = '?'.http_build_query($query_parsed);
|
$query = '?'.http_build_query($query_parsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Handle port seperator
|
||||||
|
if ($port && $port[0] != ":")
|
||||||
|
$port = ":" . $port;
|
||||||
|
|
||||||
// Return the completed URL
|
// Return the completed URL
|
||||||
$result = $scheme . $host . $port . $path . $query;
|
$result = $scheme . $host . $port . $path . $query;
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
Reference in New Issue
Block a user