]> granicus.if.org Git - php/commitdiff
Merge from 5.3 branch - no point in echoeing the raw values here
authorRasmus Lerdorf <rasmus@php.net>
Mon, 9 Jun 2008 14:03:44 +0000 (14:03 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Mon, 9 Jun 2008 14:03:44 +0000 (14:03 +0000)
ext/standard/head.c

index 31fe16775d8e09aa0924a4a70aeca5d33901561f..7728b669f241272f6a17729d859fb26c7505b7c0 100644 (file)
@@ -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;
        }