Skip to content

Commit

Permalink
Fixed issue #8632: Use SSL for ComfortUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jan 31, 2014
1 parent 2c9636d commit dac570c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/controllers/admin/update.php
Expand Up @@ -109,7 +109,7 @@ private function _requestChangelog(httpRequestIt $http, $buildnumber, $updaterve
$http->timeout = 0;
$http->data_timeout = 0;
$http->user_agent = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)';
$http->GetRequestArguments('http://update.limesurvey.org/updates/changelog/' . $buildnumber . '/' . $updaterversion , $arguments);
$http->GetRequestArguments('https://update.limesurvey.org/updates/changelog/' . $buildnumber . '/' . $updaterversion , $arguments);

$http->Open($arguments);

Expand All @@ -121,7 +121,7 @@ private function _requestChangedFiles(httpRequestIt $http, $buildnumber, $update
$http->timeout = 0;
$http->data_timeout = 0;
$http->user_agent = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)';
$http->GetRequestArguments('http://update.limesurvey.org/updates/update/' . $buildnumber . '/' . $updaterversion , $arguments);
$http->GetRequestArguments('https://update.limesurvey.org/updates/update/' . $buildnumber . '/' . $updaterversion , $arguments);

$http->Open($arguments);

Expand Down Expand Up @@ -352,7 +352,7 @@ function step4()
/* Data transfer timeout */
$http->data_timeout=0;
$http->user_agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
$http->GetRequestArguments("http://update.limesurvey.org/updates/download/{$updateinfo['downloadid']}",$arguments);
$http->GetRequestArguments("https://update.limesurvey.org/updates/download/{$updateinfo['downloadid']}",$arguments);
$http->RestoreCookies(Yii::app()->session['updatesession']);

$error=$http->Open($arguments);
Expand Down Expand Up @@ -456,7 +456,7 @@ private function _RunUpdaterUpdate()
/* Data transfer timeout */
$oHTTPRequest->data_timeout=0;
$oHTTPRequest->user_agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
$oHTTPRequest->GetRequestArguments("http://update.limesurvey.org?updaterbuild={$buildnumber}",$arguments);
$oHTTPRequest->GetRequestArguments("https://update.limesurvey.org?updaterbuild={$buildnumber}",$arguments);

$updateinfo=false;
$error=$oHTTPRequest->Open($arguments);
Expand Down Expand Up @@ -510,7 +510,7 @@ private function _RunUpdaterUpdate()
/* Data transfer timeout */
$oHTTPRequest->data_timeout=0;
$oHTTPRequest->user_agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
$oHTTPRequest->GetRequestArguments("http://update.limesurvey.org/updates/downloadupdater/{$buildnumber}",$arguments);
$oHTTPRequest->GetRequestArguments("https://update.limesurvey.org/updates/downloadupdater/{$buildnumber}",$arguments);

$oHTTPRequesterror=$oHTTPRequest->Open($arguments);
$oHTTPRequesterror=$oHTTPRequest->SendRequest($arguments);
Expand Down

0 comments on commit dac570c

Please sign in to comment.