chg: test url for proxy

this way the check works even if only github is whitelisted by the web proxy
pull/4139/head
iwitz 2019-02-11 14:27:41 +01:00 committed by GitHub
parent 4a6ed2f56a
commit 0af739b7c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3894,7 +3894,7 @@ class Server extends AppModel
$syncTool = new SyncTool();
try {
$HttpSocket = $syncTool->setupHttpSocket();
$proxyResponse = $HttpSocket->get('http://www.example.com/');
$proxyResponse = $HttpSocket->get('https://www.github.com/');
} catch (Exception $e) {
$proxyStatus = 2;
}