From 7e8c30ba2f519f5b0b9c9d6b3ae5649f0d3235d9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Feb 2014 19:10:57 +0100 Subject: php-google-apiclient: import from rawhide --- c6949531d2399f81a5e15caf256f156dd68e00e9.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 c6949531d2399f81a5e15caf256f156dd68e00e9.patch (limited to 'c6949531d2399f81a5e15caf256f156dd68e00e9.patch') diff --git a/c6949531d2399f81a5e15caf256f156dd68e00e9.patch b/c6949531d2399f81a5e15caf256f156dd68e00e9.patch new file mode 100644 index 0000000..485abd3 --- /dev/null +++ b/c6949531d2399f81a5e15caf256f156dd68e00e9.patch @@ -0,0 +1,25 @@ +From c6949531d2399f81a5e15caf256f156dd68e00e9 Mon Sep 17 00:00:00 2001 +From: Silvano Luciani +Date: Fri, 31 Jan 2014 13:29:14 -0800 +Subject: [PATCH] Explicitly set '&' as separator value for http_build_query + +--- + src/Google/Auth/OAuth2.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Google/Auth/OAuth2.php b/src/Google/Auth/OAuth2.php +index e66f34c..6cf7c1a 100644 +--- a/src/Google/Auth/OAuth2.php ++++ b/src/Google/Auth/OAuth2.php +@@ -161,7 +161,7 @@ public function createAuthUrl($scope) + $params['state'] = $this->state; + } + +- return self::OAUTH2_AUTH_URL . "?" . http_build_query($params); ++ return self::OAUTH2_AUTH_URL . "?" . http_build_query($params, '', '&'); + } + + /** +-- +1.8.5.1 + -- cgit