Commit Graph

61 Commits

Author SHA1 Message Date
Arnaud Le Blanc
665b8f5510 MFH: XFAIL test 2009-01-08 18:58:34 +00:00
Felipe Pena
3d2edc7c1c - MFH: Fixed bug #46973 (IPv6 address filter rejects valid address) 2008-12-31 15:03:18 +00:00
Arnaud Le Blanc
517e365ce1 MFH: Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as
default filter)
2008-11-02 22:22:43 +00:00
Arnaud Le Blanc
aa31988e43 MFH: Allow filters to work on INPUT_SERVER in CLI (bug #44779) 2008-07-24 09:12:45 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Antony Dovgal
805f552cd3 fix skipif sections 2008-07-13 21:40:49 +00:00
Ilia Alshanetsky
c4a33f1515 Fixed bug #44445 (email validator does not handle domains
starting/ending with a -)
2008-03-18 23:31:34 +00:00
Felipe Pena
1db52c1c5f Fix tests (new error message for void parameters) 2008-03-10 23:14:11 +00:00
Felipe Pena
3be93e5141 New test 2008-02-24 18:49:55 +00:00
Jani Taskinen
de499c965f MFH 2008-02-06 19:13:56 +00:00
Antony Dovgal
ff514e208e fix tests 2007-05-18 11:47:58 +00:00
Antony Dovgal
ffd09c0961 fix tests 2007-05-18 11:29:55 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
cd32cab680 Fixed ext/filter Email Validation Vulnerability
(MOPB-24 by Stefan Esser)
2007-05-03 23:38:27 +00:00
Antony Dovgal
66859a74de fix tests 2007-04-26 23:30:00 +00:00
Antony Dovgal
157ba803c6 fix test 2007-04-20 08:00:52 +00:00
Dmitry Stogov
1d56aa095a Fixed tests (win32) 2007-04-18 07:55:52 +00:00
Rasmus Lerdorf
7b80d01aa3 Fix test 2007-02-24 22:02:16 +00:00
Dmitry Stogov
67583e7aa5 Code review:
. fixed integer overflow
  . fixed buffer overflow/underflow
  . added more strict IP validation
  . reimplemented float number validation
2006-12-26 09:16:25 +00:00
Ilia Alshanetsky
ea491dba64 Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). 2006-12-20 19:20:01 +00:00
Antony Dovgal
2c3db736c4 add missing SKIPIF sections 2006-12-19 14:16:23 +00:00
Ilia Alshanetsky
a938d8e386 Fixed bugs with trimming of spaces 2006-12-18 14:56:40 +00:00
Ilia Alshanetsky
7d7248390c Filter fixes:
Fixed possible double encoding problem with sanitizing filters
	Make use of space-strict strip_tags() function
2006-12-18 04:22:05 +00:00
Ilia Alshanetsky
b75d079c89 Fixed bug #39846 (Invalid IPv4 treated as valid). 2006-12-16 21:48:05 +00:00
Ilia Alshanetsky
94e3f478d7 Fixed handling of multiple cookies with the same name.
Added support for cookies into run-tests.php
2006-12-09 14:14:29 +00:00
Ilia Alshanetsky
d94453a4e5 Fixed tests 2006-12-09 03:17:49 +00:00
Ilia Alshanetsky
352e69d3f0 Fixed test 2006-12-09 03:07:32 +00:00
Ilia Alshanetsky
db7dad0ba0 Fixed bug #39763 (magic quotes are applied twice by ext/filter in
parse_str())
2006-12-08 17:50:04 +00:00
Pierre Joye
33f9ada038 - MFH: invalid filter id should not return unsafe values 2006-12-05 01:24:18 +00:00
Pierre Joye
145e7e470a - MFH: callback test 2006-12-04 21:33:22 +00:00
Antony Dovgal
2f9a9c4248 add new test 2006-11-20 22:17:10 +00:00
Antony Dovgal
c301119fdf MFH: improve the fix and the test 2006-11-13 19:32:58 +00:00
Antony Dovgal
a2a20556d8 new test 2006-11-13 14:51:11 +00:00
Nuno Lopes
fb06fa19e3 fix test for non English guys 2006-11-09 16:38:28 +00:00
Antony Dovgal
16877a5ad8 fix test 2006-10-17 22:05:16 +00:00
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