Commit Graph

64 Commits

Author SHA1 Message Date
Antony Dovgal
9c47899565 fix tests 2007-05-18 11:29:40 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Antony Dovgal
c08c29a815 fix test 2007-04-20 08:00:43 +00:00
Dmitry Stogov
bdb62886dd Fixed tests (win32) 2007-04-18 07:57:31 +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
29f37953f9 MFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). 2006-12-20 19:20:22 +00:00
Antony Dovgal
7a965d5b5f add missing SKIPIF sections 2006-12-19 14:16:08 +00:00
Ilia Alshanetsky
6c784299e6 MFB: Fixed bugs with trimming of spaces 2006-12-18 14:57:20 +00:00
Ilia Alshanetsky
0471dd1d94 MFB: Filter fixes:
Fixed possible double encoding problem with sanitizing filters
	Make use of space-strict strip_tags() function
2006-12-18 04:24:38 +00:00
Ilia Alshanetsky
9d99ba0619 MFB: Fixed bug #39846 (Invalid IPv4 treated as valid). 2006-12-16 21:48:21 +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
Ilia Alshanetsky
2dd22beedb MFB: Fixed tests 2006-12-09 03:18:21 +00:00
Ilia Alshanetsky
a8f337d33c MFB: fixed test 2006-12-09 03:07:49 +00:00
Pierre Joye
a62301fc98 - invalid filter id should not return unsafe values 2006-12-05 01:23:42 +00:00
Pierre Joye
4fcf964c65 - MFB: use %s 2006-12-04 21:23:02 +00:00
Antony Dovgal
6f11c0cc73 add new test 2006-11-20 22:17:00 +00:00
Antony Dovgal
6a7f43cfa0 improve the fix and the test 2006-11-13 19:32:43 +00:00
Antony Dovgal
93bb912107 new test 2006-11-13 14:50:55 +00:00
Nuno Lopes
9b04c0d407 MFB: fix test 2006-11-09 16:38:55 +00:00
Pierre Joye
79904b9b08 - add test for callback with non modified var
- update changelog
2006-10-25 17:23:45 +00:00
Hannes Magnusson
9967c1c306 Fix tests 2006-10-20 15:03:22 +00:00
Antony Dovgal
399421323b fix test 2006-10-17 22:05:43 +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
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
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
Antony Dovgal
8bc414ee8e fix test 2006-09-19 11:29:50 +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
ba01adbd0e fix test 2006-09-14 15:00:52 +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
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
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
0b0a4d02ca - fix test 2006-07-26 23:24:11 +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
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
d37337c6df fix tests 2006-07-19 08:25:45 +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
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