Commit Graph

72 Commits

Author SHA1 Message Date
David Soria Parra
f7b10abae9 Replace $Revision$ with $Id$ in keyword expansion enable files 2012-03-20 17:53:47 +01:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Ilia Alshanetsky
fc7ee596f6 #doc
Added 3rd parameter to filter_var_array() and filter_input_array() 
functions that allows disabling addition of empty elements
2011-04-28 12:32:47 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Ilia Alshanetsky
a68864969e Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)). 2010-12-22 16:18:59 +00:00
Adam Harvey
b47136d332 Added explanatory comments to filter_input and filter_input_array to document
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).
2010-04-20 04:31:11 +00:00
Rasmus Lerdorf
a5b5743d71 full_special_chars filter from trunk - approved by johannes 2010-03-31 22:59:09 +00:00
Ilia Alshanetsky
299c4c43ed Fixed bug #50632 (filter_input() does not return default value if the variable does not exist) 2010-01-03 22:58:37 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
a94558c855 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Ilia Alshanetsky
2be6de0a50 Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. 2009-12-07 13:43:44 +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
Stanislav Malyshev
94b7a00760 fix for #47930 2009-04-28 21:30:23 +00:00
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
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
Felipe Pena
ff83deb66d - Added arginfo 2008-06-24 12:09:31 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Felipe Pena
6a128d5614 MFB: Fixed segfault in filter extension when using callbacks. 2008-02-24 18:41:08 +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
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
Pierre Joye
2caba30962 - #40947, allow a single filter as argument for filter_var_array 2007-04-04 20:50:26 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36: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
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
db7dad0ba0 Fixed bug #39763 (magic quotes are applied twice by ext/filter in
parse_str())
2006-12-08 17:50:04 +00:00
Antony Dovgal
b32bf96363 revert the fix for #39763 2006-12-08 17:04:01 +00:00
Antony Dovgal
6b8526efce MFH: fix #39763 (magic quotes are applied twice by ext/filter) 2006-12-07 11:00:08 +00:00
Pierre Joye
33f9ada038 - MFH: invalid filter id should not return unsafe values 2006-12-05 01:24:18 +00:00
Pierre Joye
bff08d46f1 - default filter is not string anymore (in comment)
- WS and error msg sync with head
2006-12-04 21:16:01 +00:00
Pierre Joye
5f2562e905 - MFH: init tmp var 2006-12-04 21:07:13 +00:00
Ilia Alshanetsky
b6bdd44962 Added "default" option that allows a default value to be set for an invalid
or missing value.
2006-12-03 21:27:36 +00:00
Antony Dovgal
c301119fdf MFH: improve the fix and the test 2006-11-13 19:32:58 +00:00
Antony Dovgal
69e0c84522 MFH 2006-11-13 15:00:05 +00:00
Ilia Alshanetsky
f06762b361 Fixed pecl bug #9179 (phpversion("filter") shows wrong version). 2006-11-10 01:08:17 +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
3890ca3fcb Improve parameter parsing 2006-10-09 19:48:13 +00:00
Pierre Joye
7883814424 - wrong definition 2006-10-04 11:48:04 +00:00
Ilia Alshanetsky
c67068b52b Shoehorn myself into the credits. 2006-10-03 22:18:08 +00:00
Ilia Alshanetsky
f876d0bf2a Fixed handling of FILTER_FORCE_ARRAY 2006-10-03 15:34:50 +00:00
Pierre Joye
a7ccaa5ec7 - vi folding, ws 2006-10-03 11:42:23 +00:00
Michael Wallner
e7b80e8368 - fix (ZTS) build 2006-10-03 05:57:52 +00:00