diff --git a/typo3/sysext/core/Classes/Utility/GeneralUtility.php b/typo3/sysext/core/Classes/Utility/GeneralUtility.php
index eda5b7f639d27db5665558594063f669a410054f..59b67179f8f888280f9b5e482e07295d932f084e 100755
--- a/typo3/sysext/core/Classes/Utility/GeneralUtility.php
+++ b/typo3/sysext/core/Classes/Utility/GeneralUtility.php
@@ -2495,7 +2495,12 @@ Connection: close
 					'header' => implode(CRLF, $requestHeaders)
 				)
 			));
-			$content = @file_get_contents($url, FALSE, $ctx);
+			$defaultCtx = stream_context_get_default();
+			if ($defaultCtx) {
+				$content = @file_get_contents($url);
+			} else {
+				$content = @file_get_contents($url, FALSE, $ctx);
+			}
 			if ($content === FALSE && isset($report)) {
 				$report['error'] = -1;
 				$report['message'] = 'Couldn\'t get URL: ' . (isset($http_response_header) ? implode(LF, $http_response_header) : $url);