Patch sanitize_integers for Filter related Bug #60541
Patch version 2011-12-16 00:07 UTC
Return to Bug #60541 |
Download this patch
Patch Revisions:
Developer: klaussilveira@php.net
Index: sanitizing_filters.c
===================================================================
--- sanitizing_filters.c (revision 321048)
+++ sanitizing_filters.c (working copy)
@@ -331,7 +331,7 @@
void php_filter_number_int(PHP_INPUT_FILTER_PARAM_DECL)
{
/* strip everything [^0-9+-] */
- const unsigned char allowed_list[] = "+-" DIGIT;
+ const unsigned char allowed_list[] = DIGIT;
filter_map map;
filter_map_init(&map);
|