summaryrefslogtreecommitdiff
path: root/lib/facebook-graph-sdk/src/Facebook/Http/GraphRawResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facebook-graph-sdk/src/Facebook/Http/GraphRawResponse.php')
-rw-r--r--lib/facebook-graph-sdk/src/Facebook/Http/GraphRawResponse.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facebook-graph-sdk/src/Facebook/Http/GraphRawResponse.php b/lib/facebook-graph-sdk/src/Facebook/Http/GraphRawResponse.php
index 583d303..d1a7241 100644
--- a/lib/facebook-graph-sdk/src/Facebook/Http/GraphRawResponse.php
+++ b/lib/facebook-graph-sdk/src/Facebook/Http/GraphRawResponse.php
@@ -1,6 +1,6 @@
<?php
/**
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
* use, copy, modify, and distribute this software in source code or binary
@@ -129,7 +129,7 @@ class GraphRawResponse
if (strpos($line, ': ') === false) {
$this->setHttpResponseCodeFromHeader($line);
} else {
- list($key, $value) = explode(': ', $line);
+ list($key, $value) = explode(': ', $line, 2);
$this->headers[$key] = $value;
}
}