From c1b82744bbe54c107368bca7bd074880e54cf869 Mon Sep 17 00:00:00 2001 From: Alexey Skrobov Date: Wed, 11 Mar 2020 10:45:00 -0700 Subject: [PATCH] intuit#294: Do not use default settings in http_build_query to avoid client-side php.ini settings --- src/Core/OAuth/OAuth2/OAuth2LoginHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php b/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php index a7f364ef..b00aa094 100644 --- a/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php +++ b/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php @@ -516,6 +516,6 @@ private function constructRefreshTokenBody($refresh_token){ 'grant_type' => CoreConstants::OAUTH2_REFRESH_GRANTYPE, 'refresh_token' => (String)$refresh_token ); - return http_build_query($parameters); + return http_build_query($parameters, null, '&'); } }