Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
20
vendor/behat/mink-browserkit-driver/tests/web-fixtures/issue140.php
vendored
Normal file
20
vendor/behat/mink-browserkit-driver/tests/web-fixtures/issue140.php
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<html>
|
||||
<body>
|
||||
<?php if ($app['request']->isMethod('POST')) {
|
||||
$resp = new Symfony\Component\HttpFoundation\Response();
|
||||
$cook = new Symfony\Component\HttpFoundation\Cookie('tc', $app['request']->request->get('cookie_value'));
|
||||
$resp->headers->setCookie($cook);
|
||||
} elseif ($app['request']->query->has('show_value')) {
|
||||
echo $app['request']->cookies->get('tc');
|
||||
return;
|
||||
}
|
||||
?>
|
||||
<form method="post">
|
||||
<input name="cookie_value">
|
||||
<input type="submit" value="Set cookie">
|
||||
</form>
|
||||
</body>
|
Reference in a new issue