RE: [PHP-CVS] cvs: php-src /ext/standard head.c
| From: | Ford, Mike | Date: | Tue, 10 Jun 2008 08:11:35 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php-src /ext/standard head.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50345@lists.php.net to get a copy of this message | ||
On 09 June 2008 15:06, Rasmus Lerdorf advised:
> rasmus Mon Jun 9 14:05:49 2008 UTC
>
> Modified files:
> /php-src/ext/standard head.c
> Log:
> Merge from PHP_5 - don't echo raw cookie values here
> if (name && strpbrk(name, "=,; \t\r\n\013\014") !=
> NULL) { /* man isspace for \013 and \014 */
> - zend_error( E_WARNING, "Cookie names can not
> contain any of the folllowing '=,; \\t\\r\\n\\013\\014' (%s)", name );
> + zend_error( E_WARNING, "Cookie names can not
> contain any of the folllowing '=,; \\t\\r\\n\\013\\014'" );
Can I just point out the typo in here?
(3 ells in folllowing!)
> if (!url_encode && value && strpbrk(value, ",;
> \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 */
> - zend_error( E_WARNING, "Cookie values can not
> contain any of the folllowing ',; \\t\\r\\n\\013\\014' (%s)", value );
> + zend_error( E_WARNING, "Cookie values can not
> contain any of the folllowing ',; \\t\\r\\n\\013\\014'" );
And here!
Cheers!
Mike
--
Mike Ford, Electronic Information Developer,
C507, Leeds Metropolitan University, Civic Quarter Campus,
Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 812 4730
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm