Commit Graph

132 Commits

Author SHA1 Message Date
Antony Dovgal
2627e08886 MFH: revert wrong fix for bug #47930 2009-04-14 14:18:35 +00:00
Stanislav Malyshev
d62333c7d6 fix #47930 2009-04-13 19:21:28 +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
Matt Wilmas
f75fff5ea7 - MFH: Removed unused LONG_SIGN_MASK definition, and a stray \
- Changed sign flag to int (it's no longer being used in a calculation)
2009-03-31 11:22:08 +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
d348b2723c Fixed bug #47772 (FILTER_VALIDATE_EMAIL allows foo@bar. addresses) 2009-03-25 18:51:44 +00:00
Ilia Alshanetsky
3896684ca0 Fixed bug #47598 (FILTER_VALIDATE_EMAIL is locale aware) 2009-03-08 18:21:15 +00:00
Ilia Alshanetsky
0f3831a2f1 Fixed bug #47435 (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6
addresses in the filter extension)
2009-02-23 16:52:29 +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
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Scott MacVicar
e5e17578bf MFB: Back out bugfix for #42718 as this broke magic_quotes_gpc 2008-12-06 17:25:35 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +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
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Ilia Alshanetsky
2357d51900 Fixed bug #46343 (IPv6 address filter accepts invalid address) 2008-10-20 23:22:45 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +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
Felipe Pena
ff83deb66d - Added arginfo 2008-06-24 12:09:31 +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
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Felipe Pena
3be93e5141 New test 2008-02-24 18:49:55 +00:00
Felipe Pena
6a128d5614 MFB: Fixed segfault in filter extension when using callbacks. 2008-02-24 18:41:08 +00:00
Jani Taskinen
de499c965f MFH 2008-02-06 19:13:56 +00:00
Jani Taskinen
d2b77f5cf3 MFH:- Fixed bug in handling arrays which caused the original array being modified too. 2008-02-06 19:06:58 +00:00
Nuno Lopes
00e7f90796 const more 216 bytes (on a 32-bits host) 2008-01-25 20:20:07 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +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
Pierre Joye
2caba30962 - #40947, allow a single filter as argument for filter_var_array 2007-04-04 20:50:26 +00:00
Rasmus Lerdorf
7b80d01aa3 Fix test 2007-02-24 22:02:16 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
6e0af2f4d5 Simplify code and change strchr() to memchr() 2006-12-31 22:47:13 +00:00
Ilia Alshanetsky
790b0b9edf Fixes test #50 2006-12-30 01:56:18 +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
87ffae250c fixed ZTS build 2006-12-20 19:48:12 +00:00
Ilia Alshanetsky
ea491dba64 Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). 2006-12-20 19:20:01 +00:00