1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00
Commit Graph

156 Commits

Author SHA1 Message Date
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
Pierre Joye
0b0a4d02ca - fix test 2006-07-26 23:24:11 +00:00
Antony Dovgal
21f635223c check g_hash for NULL before resetting it 2006-07-25 10:36:11 +00:00
Ilia Alshanetsky
1aa26d8165 MFB: Fixed compiler warning. 2006-07-24 03:59:03 +00:00
Pierre Joye
592419c53d - MFB: fix compiler warnings 2006-07-22 13:01:03 +00:00
Nuno Lopes
865fa63842 MFB 2006-07-22 12:54:05 +00:00
Pierre Joye
0cbcafa64d MFB:
- API Shake up #1, change input_get_args argument order
- silent compiler warnings
- update tests
2006-07-22 09:51:50 +00:00
Pierre Joye
7544adc52d - update changelog 2006-07-20 13:08:36 +00:00
Pierre Joye
70a89d9605 - MFB:
- make boolean logical filter works like int/float and php itself
 - add more tests for boolean input
2006-07-20 13:03:02 +00:00
Antony Dovgal
012a0e74ed no need to fetch name and free it immediately after that
the patch also fixes a segfault
2006-07-19 08:35:25 +00:00