Commit Graph

38 Commits

Author SHA1 Message Date
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
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
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
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
Ilia Alshanetsky
2357d51900 Fixed bug #46343 (IPv6 address filter accepts invalid address) 2008-10-20 23:22:45 +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
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
cd32cab680 Fixed ext/filter Email Validation Vulnerability
(MOPB-24 by Stefan Esser)
2007-05-03 23:38:27 +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
Derick Rethans
a9d0abf82c - Fixed the validate email filter so that the letter "v" can also be used in
the user part of the email address. (Derick)
2006-12-20 14:39:01 +00:00
Ilia Alshanetsky
a938d8e386 Fixed bugs with trimming of spaces 2006-12-18 14:56:40 +00:00
Hannes Magnusson
93a606a192 Fix build 2006-12-17 03:26:04 +00:00
Ilia Alshanetsky
b75d079c89 Fixed bug #39846 (Invalid IPv4 treated as valid). 2006-12-16 21:48:05 +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
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
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
6e2add04ea Make float filter handle things like 02.324 properly 2006-09-14 17:47:00 +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
Nuno Lopes
083b13335e use const keyword where possible 2006-07-22 12:49:36 +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
f61572e645 fix compile warnings 2006-07-19 06:57:21 +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