You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constructor of the WebDriver_Driver class uses the following preg_match to parse out the seesion id:
preg_match("/\nLocation:./(.)\n/", $response['header'], $matches)
This fails whenever the Location header is the last header sent and thus is not followed by a "\n".
A simple fix would be to change the line to
preg_match("/\nLocation:./(.)\n/", $response['header']."\n", $matches)
The text was updated successfully, but these errors were encountered:
The constructor of the WebDriver_Driver class uses the following preg_match to parse out the seesion id:
preg_match("/\nLocation:./(.)\n/", $response['header'], $matches)
This fails whenever the Location header is the last header sent and thus is not followed by a "\n".
A simple fix would be to change the line to
preg_match("/\nLocation:./(.)\n/", $response['header']."\n", $matches)
The text was updated successfully, but these errors were encountered: