diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2008-02-22 05:13:20 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2008-02-22 05:13:20 +0000 |
commit | 92cd32246bba1bbf88c913faea11f9cca84cb49e (patch) | |
tree | 3249b29eb24d9efdc104f0a90ee6dd73d1da04db | |
parent | 28e4a3d4dd6a0acb0808a8df0e838771b8380c20 (diff) | |
download | php-git-92cd32246bba1bbf88c913faea11f9cca84cb49e.tar.gz |
No point in echoeing the raw value back here in the error message
-rw-r--r-- | ext/standard/head.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c index 31fe16775d..7728b669f2 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -69,12 +69,12 @@ PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, t int result; 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'" ); return FAILURE; } 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'" ); return FAILURE; } |