Commit Graph

83 Commits

Author SHA1 Message Date
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
Pierre Joye
1a0f27a707 - #7586 (pecl), filter is not reseted between element 2006-05-09 11:14:43 +00:00
Pierre Joye
fd2199bf53 - one line inline doc 2006-05-09 10:24:09 +00:00
Pierre Joye
f8c8a13e18 - fix logic, scalar is the default 2006-05-09 00:46:31 +00:00
Pierre Joye
f03e94f985 - remove unused arg and use the right one 2006-05-09 00:29:30 +00:00
Pierre Joye
4cc946a706 - this one too must be changed
NB: add a define for the default string name as well
2006-05-08 21:26:09 +00:00
Pierre Joye
458cdcf323 - update/add inline docs
- CS
2006-05-08 20:57:59 +00:00
Pierre Joye
f51fb7853f - fix tsrm build 2006-05-08 16:34:12 +00:00
Pierre Joye
1fd3c9baf2 - #6136, ini_set should not be able to change the filter.default 2006-05-08 16:24:12 +00:00
Pierre Joye
826a577675 - add input_get_args (input_get is kept untouched for now)
- add FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY
- update ReST doc and add an example
2006-05-08 14:39:57 +00:00
Pierre Joye
fdeb6ba904 - fix possible leak, when orig_array_ptr is null 2006-05-01 17:14:40 +00:00
Derick Rethans
d96c1d0895 - Fixed PECL bug #6639: uppercase hexadecimal digits are not supported. 2006-01-31 18:51:49 +00:00
Derick Rethans
655d2824d4 - Go with 0.9.4. 2006-01-23 09:04:50 +00:00
Derick Rethans
c839665f10 - Fixed constant names in tests. 2006-01-21 15:57:43 +00:00