Explorar el Código

[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 hace 13 años
padre
commit
3426c8390c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');