Skip to content

Commit

Permalink
Fixed issue #18430: Unable to ComfortUpdate from 5.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Oct 25, 2022
1 parent 5f7030c commit 8c41365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/UpdateForm.php
Expand Up @@ -963,7 +963,7 @@ private function performRequest($getters, $create_new_cookie_file = false)
{
if ((extension_loaded("curl"))) {
if (isset($_REQUEST['access_token'])) {
$getters .= "&access_token=" . url_encode($_REQUEST['access_token']);
$getters .= "&access_token=" . urlencode($_REQUEST['access_token']);
}

$ch = curl_init($this->getProtocol() . Yii::app()->getConfig("comfort_update_server_url") . $getters);
Expand Down

0 comments on commit 8c41365

Please sign in to comment.