X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fmink-browserkit-driver%2Ftests%2Fweb-fixtures%2Fissue140.php;fp=vendor%2Fbehat%2Fmink-browserkit-driver%2Ftests%2Fweb-fixtures%2Fissue140.php;h=dcd5518cfcccc4813dcf828412a05d166b61f88d;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/behat/mink-browserkit-driver/tests/web-fixtures/issue140.php b/vendor/behat/mink-browserkit-driver/tests/web-fixtures/issue140.php new file mode 100644 index 000000000..dcd5518cf --- /dev/null +++ b/vendor/behat/mink-browserkit-driver/tests/web-fixtures/issue140.php @@ -0,0 +1,21 @@ + + + + + +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 html_escape_value($app['request']->cookies->get('tc')); + return; +} +?> +
+ + +
+