Commit Graph

147 Commits

Author SHA1 Message Date
Ilia Alshanetsky
84b68c40e6 MFB: s/false/null/ 2006-10-11 14:56:16 +00:00
Derick Rethans
db25a23ed8 - Change validating filters to return "null" on failure so that they can be
distinguised from the value "false" which might be valid as well.
2006-10-11 14:48:33 +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
cbfd1c474b - env/server support is not yet fixed 2006-10-05 20:15:02 +00:00
Pierre Joye
5bfefaf37e - ENV/SERVER entry 2006-10-04 13:39:09 +00:00
Pierre Joye
f7531e2271 - Add Ilia 2006-10-04 12:13:39 +00:00
Pierre Joye
c99db13514 - update changelog 2006-10-04 12:11:15 +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
Pierre Joye
6284e39e0e - MFB 2006-10-03 23:33:23 +00:00
Ilia Alshanetsky
464c1ae4fe MFB: fix test 2006-09-21 23:07:10 +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
8bc414ee8e fix test 2006-09-19 11:29:50 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Ilia Alshanetsky
0fff2d8d45 MFB: Make float filter handle things like 02.324 properly 2006-09-14 17:48:11 +00:00
Antony Dovgal
367d65eced MFB 2006-09-14 15:30:37 +00:00
Antony Dovgal
ba01adbd0e fix test 2006-09-14 15:00:52 +00:00
Pierre Joye
3dbdf4846e - this moved out, invalid format 2006-09-01 00:39:31 +00:00
Pierre Joye
e46fa21739 - add new tests to the package.xml 2006-08-31 22:37:22 +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
e166a67ebd new test 2006-08-31 22:15:47 +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
Pierre Joye
7643192ca5 - pecl bug #8316,
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:28:39 +00:00
Pierre Joye
d10b686b6e - add a test for input_get and array
This test fails now. When the input variable is an array, its contents
  is replace by the filter result. To be fixed asap (before 5.2.0)
2006-08-31 16:13:39 +00:00
Pierre Joye
1fea711ac4 - MFB:
- clean the auto trim (behaves like php_trim now)
 - simplifies bool
 - fix octal parsing
 i- boost int/hex/octal validate_int
2006-08-31 16:12:33 +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
2725e485ba - MFH: #8315, float is affected too 2006-07-29 12:46:16 +00:00
Pierre Joye
cadd5e2ee9 - MFH: #8315, NULL character stops the validation 2006-07-29 01:27:47 +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
Pierre Joye
0b0a4d02ca - fix test 2006-07-26 23:24:11 +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
Pierre Joye
592419c53d - MFB: fix compiler warnings 2006-07-22 13:01: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
Pierre Joye
7544adc52d - update changelog 2006-07-20 13:08:36 +00:00
Pierre Joye
70a89d9605 - MFB:
- make boolean logical filter works like int/float and php itself
 - add more tests for boolean input
2006-07-20 13:03:02 +00:00
Antony Dovgal
012a0e74ed no need to fetch name and free it immediately after that
the patch also fixes a segfault
2006-07-19 08:35:25 +00:00
Antony Dovgal
d37337c6df fix tests 2006-07-19 08:25:45 +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
da989ab849 - reimport logical_filter.c 2006-06-15 22:20:57 +00:00
Pierre Joye
3c5d378c73 - update changelog 2006-05-28 01:24:01 +00:00
Pierre Joye
c095489df3 - #7733, values using E/e returns wrong result 2006-05-28 01:12:55 +00:00