1--TEST--
2Bug #69948 (path/domain are not sanitized for special characters in setcookie)
3--FILE--
4<?php
5var_dump(
6    setcookie('foo', 'bar', 0, 'asdf;asdf'),
7    setcookie('foo', 'bar', 0, '/', 'foobar; secure')
8);
9?>
10===DONE===
11--EXPECTHEADERS--
12--EXPECTF--
13Warning: Cookie paths cannot contain any of the following ',; \t\r\n\013\014' in %s on line %d
14
15Warning: Cookie domains cannot contain any of the following ',; \t\r\n\013\014' in %s on line %d
16bool(false)
17bool(false)
18===DONE===
19