summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2008-06-09 14:03:44 +0000
committerRasmus Lerdorf <rasmus@php.net>2008-06-09 14:03:44 +0000
commita583cad157fa12b083a928824bd2c06e00029cc0 (patch)
tree0bde6175848d7c7e191359bcf50c52a5fa8558e6
parentc4fa4d53610dfdc15f9b1844b3f6846065139a5f (diff)
downloadphp-git-a583cad157fa12b083a928824bd2c06e00029cc0.tar.gz
Merge from 5.3 branch - no point in echoeing the raw values here
-rw-r--r--ext/standard/head.c4
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;
}