Commit Graph

130 Commits

Author SHA1 Message Date
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
Pierre Joye
e8f043b449 -#7715, fix float validation when using '.23' or '123'
have worked before using my version, bug introduced in later commits.
2006-05-25 13:27:51 +00:00
Pierre Joye
f4890ace58 - remove 033.php 2006-05-25 11:13:42 +00:00
Pierre Joye
c0e8d54844 - move 033.php to 033_run.php, 033.php cannot be run 2006-05-25 11:13:23 +00:00
Rasmus Lerdorf
3562f88b7e Fix expected output 2006-05-25 09:12:11 +00:00
Rasmus Lerdorf
804a44e7bc Big filter test - note that a number of these currently fail 2006-05-25 08:06:34 +00:00
Pierre Joye
b629056504 - #7625, update doc 2006-05-24 11:51:55 +00:00
Pierre Joye
deec9a6ce1 - fix windows builds, error with declarations 2006-05-19 01:45:22 +00:00
Pierre Joye
a25e1af038 - add tests to the package 2006-05-14 15:51:04 +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
cd4051dce5 - add test for INT 2006-05-14 13:12:57 +00:00
Pierre Joye
e6de0eaba4 - trim spaces before parsing floats or integers 2006-05-14 13:10:10 +00:00
Pierre Joye
29bf501644 - changelog 2006-05-14 01:58:51 +00:00
Pierre Joye
3ac4fc8311 - add var_name##_len to FETCH_STRING_OPTION
- add tests for float (031)
- fix name for IPv6 test
2006-05-14 01:47:40 +00:00
Pierre Joye
ae1165e478 - use php/pcre in email
- return code can be 0
2006-05-13 15:57:46 +00:00
Pierre Joye
253d5d6e27 - entry for ipv6 2006-05-13 02:44:56 +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
Pierre Joye
00d423980a - add SCALAR/ARRAY doc 2006-05-13 01:30:02 +00:00