Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed header parsing for Symfony driver.

If there was a colon in a header it was parsed incorrectly. For example if there was a full URL in a location header "http" was returned instead of "".
  • Loading branch information...
commit 5c88713c6a02c058bfd3f952498416d688429360 1 parent 7eb0164
@jakzal jakzal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Driver/SymfonyDriver.php
2  Driver/SymfonyDriver.php
@@ -112,7 +112,7 @@ public function getResponseHeaders()
$responseHeaders = trim($this->getClient()->getResponse()->headers->__toString());
foreach (explode("\r\n", $responseHeaders) as $header) {
- list($name, $value) = array_map('trim', explode(':', $header));
+ list($name, $value) = array_map('trim', explode(':', $header, 2));
if (isset($headers[$name])) {
$headers[$name] = array($headers[$name]);
Please sign in to comment.
Something went wrong with that request. Please try again.