1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 05:32:28 +02:00
Commit Graph

165 Commits

Author SHA1 Message Date
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
Pierre Joye
f7531e2271 - Add Ilia 2006-10-04 12:13:39 +00:00
Pierre Joye
c99db13514 - update changelog 2006-10-04 12:11:15 +00:00
Pierre Joye
e7277df42c - MFB: api shake up and bug fixes (Ilia,Pierre)
all non unicode tests pass
2006-10-04 11:56:15 +00:00
Pierre Joye
6284e39e0e - MFB 2006-10-03 23:33:23 +00:00
Ilia Alshanetsky
464c1ae4fe MFB: fix test 2006-09-21 23:07:10 +00:00
Ilia Alshanetsky
07f22a8d4c MFB: make input_get_args() not modify the original values. 2006-09-19 23:58:47 +00:00
Antony Dovgal
8bc414ee8e fix test 2006-09-19 11:29:50 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Ilia Alshanetsky
0fff2d8d45 MFB: Make float filter handle things like 02.324 properly 2006-09-14 17:48:11 +00:00
Antony Dovgal
367d65eced MFB 2006-09-14 15:30:37 +00:00
Antony Dovgal
ba01adbd0e fix test 2006-09-14 15:00:52 +00:00
Pierre Joye
3dbdf4846e - this moved out, invalid format 2006-09-01 00:39:31 +00:00
Pierre Joye
e46fa21739 - add new tests to the package.xml 2006-08-31 22:37:22 +00:00
Pierre Joye
e0297b480f - implement FILTER_FLAG_ARRAY/SCALAR in input_get
- update changelog
- update tests
2006-08-31 22:32:54 +00:00
Antony Dovgal
e166a67ebd new test 2006-08-31 22:15:47 +00:00
Antony Dovgal
835814617f change filters to operate on the copy of data, so multiple filters an be applied one after another 2006-08-31 22:11:35 +00:00
Pierre Joye
7643192ca5 - pecl bug #8316,
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:28:39 +00:00
Pierre Joye
d10b686b6e - add a test for input_get and array
This test fails now. When the input variable is an array, its contents
  is replace by the filter result. To be fixed asap (before 5.2.0)
2006-08-31 16:13:39 +00:00
Pierre Joye
1fea711ac4 - MFB:
- clean the auto trim (behaves like php_trim now)
 - simplifies bool
 - fix octal parsing
 i- boost int/hex/octal validate_int
2006-08-31 16:12:33 +00:00
Antony Dovgal
bee846b80e ext/filter z/Z fixes 2006-08-31 15:17:08 +00:00
Ilia Alshanetsky
36be62c0e1 Removed extra byte 2006-08-07 16:54:16 +00:00
Antony Dovgal
b9404ba522 fix leak in php_sapi_filter() 2006-08-03 19:35:14 +00:00
Pierre Joye
2725e485ba - MFH: #8315, float is affected too 2006-07-29 12:46:16 +00:00
Pierre Joye
cadd5e2ee9 - MFH: #8315, NULL character stops the validation 2006-07-29 01:27:47 +00:00
Pierre Joye
5c1deef202 - HEAD does not suppot magic_gpc 2006-07-28 08:18:24 +00:00
Ilia Alshanetsky
dffc66671e MFB: Fixed a bug in the filter extension that prevented magic_quotes_gpc
from being applied when RAW filter is used.
2006-07-27 18:15:10 +00:00