Bladeren bron

[BrowserKit] fixed cookie updates from Response (the URI here is not the base URI, so it should not be used to determine the default values missing in the cookie, closes #2309)

Fabien Potencier 13 jaren geleden
bovenliggende
commit
3426c8390c
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/Symfony/Component/BrowserKit/Client.php

+ 1 - 1
src/Symfony/Component/BrowserKit/Client.php

@@ -264,7 +264,7 @@ abstract class Client
 
         $response = $this->filterResponse($this->response);
 
-        $this->cookieJar->updateFromResponse($response, $uri);
+        $this->cookieJar->updateFromResponse($response);
 
         $this->redirect = $response->getHeader('Location');