rasmus Fri Feb 22 05:13:20 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard head.c
Log:
No point in echoeing the raw value back here in the error message
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/head.c?r1=1.84.2.1.2.7.2.1&r2=1.84.2.1.2.7.2.2&diff_format=u
Index: php-src/ext/standard/head.c
diff -u php-src/ext/standard/head.c:1.84.2.1.2.7.2.1
php-src/ext/standard/head.c:1.84.2.1.2.7.2.2
--- php-src/ext/standard/head.c:1.84.2.1.2.7.2.1 Mon Dec 31 07:17:15 2007
+++ php-src/ext/standard/head.c Fri Feb 22 05:13:20 2008
@@ -15,7 +15,7 @@
| Author: Rasmus Lerdorf <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: head.c,v 1.84.2.1.2.7.2.1 2007/12/31 07:17:15 sebastian Exp $ */
+/* $Id: head.c,v 1.84.2.1.2.7.2.2 2008/02/22 05:13:20 rasmus Exp $ */
#include <stdio.h>
#include "php.h"
@@ -69,12 +69,12 @@
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;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php