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
Ilia Alshanetsky
dffc66671e
MFB: Fixed a bug in the filter extension that prevented magic_quotes_gpc
...
from being applied when RAW filter is used.
2006-07-27 18:15:10 +00:00
Antony Dovgal
21f635223c
check g_hash for NULL before resetting it
2006-07-25 10:36:11 +00:00
Ilia Alshanetsky
1aa26d8165
MFB: Fixed compiler warning.
2006-07-24 03:59:03 +00:00
Nuno Lopes
865fa63842
MFB
2006-07-22 12:54:05 +00:00
Pierre Joye
0cbcafa64d
MFB:
...
- API Shake up #1 , change input_get_args argument order
- silent compiler warnings
- update tests
2006-07-22 09:51:50 +00:00
Antony Dovgal
54188262f2
increase refcount when adding zval to the result array
2006-07-19 07:18:25 +00:00
Antony Dovgal
6e5e4aa05d
fix compile warnings
2006-07-19 06:56:28 +00:00
Marcus Boerger
fe7ba735bc
- CS
2006-07-18 23:56:53 +00:00
Marcus Boerger
80807ea353
- Fix build
2006-07-18 23:52:09 +00:00
Pierre Joye
011bb5fef6
- initialize the custom values to null (optional arg)
...
- raise error for REQUEST and unknown mode
2006-06-22 10:58:13 +00:00
Pierre Joye
deec9a6ce1
- fix windows builds, error with declarations
2006-05-19 01:45:22 +00:00
Pierre Joye
8e95777e47
- NULL is returned when a variable is not false, FALSE when the validation
...
failed
- add tests for input_get_args
2006-05-14 13:54:10 +00:00
Pierre Joye
73ed3ce99f
- add IPv6 basic support
...
unicast, multicast or other local loop will come after 0.10.0
test 014 fails:
"Notice: Object of class stdClass to string conversion" is now
"Catchable fatal error: Object of class stdClass could not be converted
to IS_STRING", to verify ...
2006-05-13 02:43:44 +00:00
Rasmus Lerdorf
6219fa9f01
WS fix
2006-05-10 23:10:55 +00:00
Rasmus Lerdorf
294e1cd2d8
auto_globals_jit support for ext/filter
2006-05-10 23:09:03 +00:00