Commit Graph

86 Commits

Author SHA1 Message Date
Rasmus Lerdorf
9744284109 Fix tests 2010-04-02 18:27:48 +00:00
Rasmus Lerdorf
8b1d84a6ce Add new full_special_chars filter to tests 2010-04-01 18:04:57 +00:00
Raphael Geissert
db01920ad7 Detect overflows before they occur in the filter extension (bug #51023)
Thanks to Sean Finney for the patch
2010-03-06 18:54:55 +00:00
Adam Harvey
0efe78a577 Fix for bug #51192 (FILTER_VALIDATE_URL will invalidate a hostname that includes '-'). Original patch by solar@azrael.ws. 2010-03-03 09:25:50 +00:00
Ilia Alshanetsky
1af7f5bda7 Added test case for bug #50632 2010-01-05 12:25:00 +00:00
Jani Taskinen
16dbf3060b - Fix test 2009-12-14 09:26:49 +00:00
Rasmus Lerdorf
f76c5282ae When Ilia fixed bug #49470 and removed the '/' as a valid
email char, he forgot to make the corresponding change in
filter test 033.
2009-11-23 14:54:57 +00:00
Felipe Pena
64f530d182 - Improve test 2009-11-15 17:05:48 +00:00
Felipe Pena
8b456901f5 - Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?).
(Patch by Pierrick)
2009-11-15 16:53:40 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Pierre Joye
3dd3cbb662 - fix #49274, filter_var does not accept object without a toString implementation 2009-09-05 17:35:26 +00:00
Pierre Joye
a134024ea3 - let try to be smart, read the bug report.... 2009-07-18 17:06:21 +00:00
Zoe Slattery
3c3c9d544e Adding explanation 2009-07-18 16:53:54 +00:00
Zoe Slattery
d93cf1f610 removing empty XFAIL sections 2009-07-18 16:41:16 +00:00
Felipe Pena
520591607e - MFH: Fixed bug #48762 (IPv6 address filter still rejects valid address) 2009-07-16 23:29:36 +00:00
Ilia Alshanetsky
0e05af63ed MFB: Fixed bug #48808 (FILTER_VALIDATE_EMAIL allows some invalid e-mail
syntaxes)
2009-07-07 00:44:20 +00:00
Ilia Alshanetsky
dac8acd1c1 MFB: Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
components).
2009-07-05 16:08:05 +00:00
Felipe Pena
8da7275f1b - MFH: Fix the fix (Bug #46973 - IPv6 address filter rejects valid address) 2009-06-10 19:01:17 +00:00
Jani Taskinen
996eab8983 - Fixed ini deprecation message issues in tests.
# CGI headers are stripped and the error ends up there with CGI..
2009-05-06 20:32:00 +00:00
Zoe Slattery
56e61fb2a5 Fixed tests - thanks mgdm 2009-05-05 13:53:11 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Pierre Joye
a35ba55065 - remove last test for MAX_INT, did not work on x64 and this case is
covered by bug47745.phpt
2009-03-31 17:59:19 +00:00
Dmitry Stogov
5e274297f8 Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer) 2009-03-31 10:02:40 +00:00
Scott MacVicar
5df74915f7 MFH Fix test, -2147483648 is a valid unsigned int where -2147483649 isn't. 2009-03-30 00:41:09 +00:00
Ilia Alshanetsky
384f89f85e Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses as
invalid)
2009-02-02 23:50:31 +00:00
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