aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/http/MultiHttpClient.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/libs/http/MultiHttpClient.php')
-rw-r--r--includes/libs/http/MultiHttpClient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/libs/http/MultiHttpClient.php b/includes/libs/http/MultiHttpClient.php
index dbd25ae6c13b..04ca96309aae 100644
--- a/includes/libs/http/MultiHttpClient.php
+++ b/includes/libs/http/MultiHttpClient.php
@@ -692,7 +692,7 @@ class MultiHttpClient implements LoggerAwareInterface {
}
$parsedUrl = wfParseUrl( $req['url'] );
if ( $parsedUrl === false ) {
- throw new Exception( "Invalid url specified: ${req['url']}" );
+ throw new Exception( "Invalid url specified: {$req['url']}" );
}
// Set the current host in the Host header
$req['headers']['Host'] = $parsedUrl['host'];