Commit Graph

191 Commits

Author SHA1 Message Date
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
3e654e4d53 MFB: Simplify code and change strchr() to memchr() 2006-12-31 22:47:27 +00:00
Ilia Alshanetsky
2120039c2b MFB: Fixes test #50 2006-12-30 01:56:33 +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
646de57e0f Fixed zts build 2006-12-20 19:48:32 +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
Derick Rethans
481d3436bb - Fixed the regexp so that the letter "v" also works. 2006-12-20 14:37:24 +00:00
Antony Dovgal
7a965d5b5f add missing SKIPIF sections 2006-12-19 14:16:08 +00:00
Ilia Alshanetsky
f6072e3bea MFB: Cleanup & optimize php_filter_encode_url() 2006-12-18 15:42:31 +00:00
Ilia Alshanetsky
e96275d8a7 MFB: Less hackish support for spaces at the start of tags within
strip_tags()
2006-12-18 15:04:36 +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
Hannes Magnusson
f696bd11ac MFB: fix build 2006-12-17 12:02:19 +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
Antony Dovgal
3945133579 revert the fix for #39763 2006-12-08 17:03:26 +00:00
Antony Dovgal
04872050e4 fix #39763 (magic quotes are applied twice by ext/filter)
no need to add slashes manually, they are added by php_register_variable_ex()
2006-12-07 10:59:35 +00:00
Antony Dovgal
14df3a4939 let PHP_ADD_EXTENSION_DEP() to take care of this 2006-12-05 23:51:18 +00:00
Ilia Alshanetsky
787a9ede6c MFB: Fixed bug #39724 (Broken build due to spl/filter usage of pcre
extension).
2006-12-05 23:38:10 +00:00
Pierre Joye
a62301fc98 - invalid filter id should not return unsafe values 2006-12-05 01:23:42 +00:00
Pierre Joye
bead3e1428 - WS 2006-12-04 21:34:48 +00:00
Pierre Joye
4fcf964c65 - MFB: use %s 2006-12-04 21:23:02 +00:00
Pierre Joye
836e249bcc - WS 2006-12-04 21:16:46 +00:00
Ilia Alshanetsky
a1721fa5d9 MFB: Added "default" option that allows a default value to be set for an
invalid or missing value.
2006-12-03 21:27:51 +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
2bbda84c5f actually copy input to return_value
input is a local var, you can't use it this way
2006-11-13 14:59:47 +00:00
Antony Dovgal
93bb912107 new test 2006-11-13 14:50:55 +00:00
Ilia Alshanetsky
d675fcb888 MFB: Fixed pecl bug #9179 (phpversion("filter") shows wrong version). 2006-11-10 01:08:52 +00:00
Nuno Lopes
9b04c0d407 MFB: fix test 2006-11-09 16:38:55 +00:00
Nuno Lopes
667f469349 MFB: fix possible segfault 2006-11-09 16:34:00 +00:00
Ilia Alshanetsky
54bd0e5067 Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to
php_filter.h)
2006-11-03 20:08:54 +00:00
Pierre Joye
1791f44e6e - bug first 2006-10-31 22:30:42 +00:00
Pierre Joye
c48eda9fb3 - update release date 2006-10-31 13:23:44 +00:00
Pierre Joye
e8744ca86f - default filter is not string (only comment fix for dave :) 2006-10-27 12:13:28 +00:00
Pierre Joye
79904b9b08 - add test for callback with non modified var
- update changelog
2006-10-25 17:23:45 +00:00
Ilia Alshanetsky
cba6bfb514 Fixed a bug when callback function returns a non-modified value 2006-10-24 15:06:01 +00:00
Ilia Alshanetsky
80ca3357c2 Removed unused var 2006-10-22 22:24:33 +00:00
Pierre Joye
6de9489bf6 - fix windows build with php < 6
- fix runtime error on other OS
2006-10-20 19:11:58 +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
Ilia Alshanetsky
3e4c2ee869 MFB: Improve parameter parsing 2006-10-09 19:48:35 +00:00
Hannes Magnusson
881ddd435b Error message cleanup (patch by Matt W (php_lists -AT- realpain.com)) 2006-10-08 13:49:57 +00:00
Pierre Joye
cbfd1c474b - env/server support is not yet fixed 2006-10-05 20:15:02 +00:00
Pierre Joye
5bfefaf37e - ENV/SERVER entry 2006-10-04 13:39:09 +00:00