1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00
Commit Graph

111 Commits

Author SHA1 Message Date
Ilia Alshanetsky cca54a95c1 Fixed bug #50632 (filter_input() does not return default value if the variable does not exist) 2010-01-03 22:58:37 +00:00
Sebastian Bergmann 22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena a51e7d3343 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Ilia Alshanetsky 9f3ec3c5de Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. 2009-12-07 13:43:44 +00:00
Pierre Joye 2eaf8bf222 - useless #ifdef 2009-09-05 17:39:18 +00:00
Pierre Joye b1f10764f9 - fix #49274, filter_var does not accept object without a toString implementation 2009-09-05 17:35:26 +00:00
Andrei Zmievski afa4e41c2f Implement JIT request decoding support for $_GET and $_POST. 2009-05-23 18:03:27 +00:00
Stanislav Malyshev de79c1eb6c MF5 fix for #47930 2009-04-28 22:59:07 +00:00
Antony Dovgal e4e782ca80 revert wrong fix for bug #47930 2009-04-14 14:18:14 +00:00
Stanislav Malyshev 821c37139d fix #47930 2009-04-13 19:24:52 +00:00
Marcus Boerger d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann 7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena 43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Arnaud Le Blanc 1931b7cb3b Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as
default filter)
2008-11-02 22:03:32 +00:00
Felipe Pena e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena 7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Felipe Pena 97a2917cad MFB: Added arginfo 2008-06-24 12:10:35 +00:00
Felipe Pena 2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +00:00
Felipe Pena 4707350eed MFB: Fixed segfault in filter extension when using callbacks. 2008-02-24 18:42:09 +00:00
Jani Taskinen f96e514a83 ws 2008-02-06 19:06:05 +00:00
Jani Taskinen 42b69fc802 - Fixed bug in handling arrays which caused the original array being modified too. 2008-02-06 19:05:18 +00:00
Nuno Lopes d2a2269f55 MFB: const keywording 2008-01-25 20:21:18 +00:00
Sebastian Bergmann 9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Jani Taskinen 0e711aed8c - Fix compiler warnings 2007-09-28 12:54:42 +00:00
Dmitry Stogov 8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Pierre Joye 55d634b6a9 - MFB: #40947, allow a single filter as argument for filter_var_arra 2007-04-04 20:51:42 +00:00
Sebastian Bergmann 3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov b0c3becc4f Code review:
. fixed integer overflow
  . fixed buffer overflow/underflow
  . added more strict IP validation
  . reimplemented float number validation
2006-12-26 09:16:39 +00:00
Ilia Alshanetsky 9901e4a31d MFB:
Fixed handling of multiple cookies with the same name.
	Added support for cookies into run-tests.php
2006-12-09 14:17:17 +00:00
Antony Dovgal 3945133579 revert the fix for #39763 2006-12-08 17:03:26 +00:00
Antony Dovgal 04872050e4 fix #39763 (magic quotes are applied twice by ext/filter)
no need to add slashes manually, they are added by php_register_variable_ex()
2006-12-07 10:59:35 +00:00
Pierre Joye a62301fc98 - invalid filter id should not return unsafe values 2006-12-05 01:23:42 +00:00
Pierre Joye 836e249bcc - WS 2006-12-04 21:16:46 +00:00
Ilia Alshanetsky a1721fa5d9 MFB: Added "default" option that allows a default value to be set for an
invalid or missing value.
2006-12-03 21:27:51 +00:00
Antony Dovgal 6a7f43cfa0 improve the fix and the test 2006-11-13 19:32:43 +00:00
Antony Dovgal 2bbda84c5f actually copy input to return_value
input is a local var, you can't use it this way
2006-11-13 14:59:47 +00:00
Ilia Alshanetsky d675fcb888 MFB: Fixed pecl bug #9179 (phpversion("filter") shows wrong version). 2006-11-10 01:08:52 +00:00
Pierre Joye e8744ca86f - default filter is not string (only comment fix for dave :) 2006-10-27 12:13:28 +00:00
Ilia Alshanetsky dc4f9d0baa MFB: Unify handling of return values on validation failure and var not found 2006-10-17 15:26:42 +00:00
Ilia Alshanetsky 3e4c2ee869 MFB: Improve parameter parsing 2006-10-09 19:48:35 +00:00
Hannes Magnusson 881ddd435b Error message cleanup (patch by Matt W (php_lists -AT- realpain.com)) 2006-10-08 13:49:57 +00:00
Pierre Joye e7277df42c - MFB: api shake up and bug fixes (Ilia,Pierre)
all non unicode tests pass
2006-10-04 11:56:15 +00:00
Ilia Alshanetsky 07f22a8d4c MFB: make input_get_args() not modify the original values. 2006-09-19 23:58:47 +00:00
Antony Dovgal 367d65eced MFB 2006-09-14 15:30:37 +00:00
Pierre Joye e0297b480f - implement FILTER_FLAG_ARRAY/SCALAR in input_get
- update changelog
- update tests
2006-08-31 22:32:54 +00:00
Antony Dovgal 835814617f change filters to operate on the copy of data, so multiple filters an be applied one after another 2006-08-31 22:11:35 +00:00
Antony Dovgal bee846b80e ext/filter z/Z fixes 2006-08-31 15:17:08 +00:00
Ilia Alshanetsky 36be62c0e1 Removed extra byte 2006-08-07 16:54:16 +00:00
Antony Dovgal b9404ba522 fix leak in php_sapi_filter() 2006-08-03 19:35:14 +00:00
Pierre Joye 5c1deef202 - HEAD does not suppot magic_gpc 2006-07-28 08:18:24 +00:00