Commit Graph

26 Commits

Author SHA1 Message Date
Ilia Alshanetsky
c5d68cd1df Unify handling of return values on validation failure and var not found 2006-10-17 15:26:14 +00:00
Ilia Alshanetsky
9809628544 s/false/null/ 2006-10-11 14:55:57 +00:00
Derick Rethans
0a3b663a1b - MFH: 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:49:13 +00:00
Pierre Joye
f72c1a1224 - more tests for the last commits 2006-10-03 23:32:33 +00:00
Antony Dovgal
6212757595 fix test 2006-10-03 08:44:01 +00:00
Ilia Alshanetsky
80cecdb41f Refactor the filter extension
- Cleanup API
	- Added handling for circular references
	- Renamed functions.

# Original patch by Pierre
2006-10-03 02:16:53 +00:00
Ilia Alshanetsky
305423c34c Fixed test 2006-09-21 23:06:52 +00:00
Pierre Joye
442112503a - add test for callback and input_get and input_get_args
this test fails now, the callback never worked with input_get or args
  fix already done, will be applied with the api shake up.
2006-09-17 18:03:45 +00:00
Ilia Alshanetsky
6e2add04ea Make float filter handle things like 02.324 properly 2006-09-14 17:47:00 +00:00
Pierre Joye
23919d9115 - MFH 2006-08-31 22:34:32 +00:00
Antony Dovgal
78c0279bb6 add test 2006-08-31 22:19:35 +00:00
Pierre Joye
2259578afa - MFH: test for mulitple filter calls 2006-08-31 22:17:44 +00:00
Pierre Joye
5c7e3ba791 - skip these tests for RC3
- CGI does not read commandline options when it sees REQUES_METHOD
 - errors are shown two times now, to be checked post RC3
2006-08-31 20:17:03 +00:00
Pierre Joye
72820abd7b - MFH: pecl bug #8316,
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:29:29 +00:00
Pierre Joye
50e9994b2c - clean the auto trim (behaves like php_trim now)
- simplifies bool
- fix octal parsing
- boost int/hex/octal validate_int
2006-08-31 15:50:56 +00:00
Pierre Joye
5317b7050b - #8315, flaot is affected too 2006-07-29 12:43:21 +00:00
Pierre Joye
ab5c3f184b - #8315, NULL character stops the validation 2006-07-29 01:26:55 +00:00
Pierre Joye
a7768dd36f - readability 2006-07-26 23:23:55 +00:00
Pierre Joye
e321c90522 - fix test 2006-07-26 23:22:53 +00:00
Pierre Joye
697f4e1f08 - API Shake up #1, use input type as first argument in input_get_args
(INPUT_GET/POST)
2006-07-22 08:58:03 +00:00
Pierre Joye
d6c2c283ed - make boolean logical filter works like int/float and php itself
- add more tests for boolean input
2006-07-20 12:58:13 +00:00
Antony Dovgal
28c9afe35d fix tests 2006-07-19 08:26:50 +00:00
SVN Migration
1b0a789ab9 This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-07-05 10:12:43 +00:00
SVN Migration
608baa409a This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-05-05 15:49:42 +00:00
SVN Migration
4571221d8e This commit was manufactured by cvs2svn to create branch 'PHP_5_1'. 2005-08-08 23:59:05 +00:00
Rasmus Lerdorf
06aede5b5d Filter skeleton code. No actual filters yet. 2005-02-23 22:41:43 +00:00