Antony Dovgal
|
66859a74de
|
fix tests
|
2007-04-26 23:30:00 +00:00 |
|
Antony Dovgal
|
157ba803c6
|
fix test
|
2007-04-20 08:00:52 +00:00 |
|
Dmitry Stogov
|
1d56aa095a
|
Fixed tests (win32)
|
2007-04-18 07:55:52 +00:00 |
|
Pierre Joye
|
2caba30962
|
- #40947, allow a single filter as argument for filter_var_array
|
2007-04-04 20:50:26 +00:00 |
|
Rasmus Lerdorf
|
7b80d01aa3
|
Fix test
|
2007-02-24 22:02:16 +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 |
|
Antony Dovgal
|
2c3db736c4
|
add missing SKIPIF sections
|
2006-12-19 14:16:23 +00:00 |
|
Ilia Alshanetsky
|
b9531d5b07
|
Cleanup & optimize php_filter_encode_url()
|
2006-12-18 15:42:18 +00:00 |
|
Ilia Alshanetsky
|
090e14dfda
|
Less hackish support for spaces at the start of tags within strip_tags()
|
2006-12-18 15:02:16 +00:00 |
|
Ilia Alshanetsky
|
a938d8e386
|
Fixed bugs with trimming of spaces
|
2006-12-18 14:56:40 +00:00 |
|
Ilia Alshanetsky
|
7d7248390c
|
Filter fixes:
Fixed possible double encoding problem with sanitizing filters
Make use of space-strict strip_tags() function
|
2006-12-18 04:22:05 +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
|
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
|
d94453a4e5
|
Fixed tests
|
2006-12-09 03:17:49 +00:00 |
|
Ilia Alshanetsky
|
352e69d3f0
|
Fixed test
|
2006-12-09 03:07:32 +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 |
|
Antony Dovgal
|
a813e112d4
|
MFH
|
2006-12-05 23:51:30 +00:00 |
|
Ilia Alshanetsky
|
62cd5a9bae
|
Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension).
|
2006-12-05 23:37:57 +00:00 |
|
Pierre Joye
|
33f9ada038
|
- MFH: invalid filter id should not return unsafe values
|
2006-12-05 01:24:18 +00:00 |
|
Pierre Joye
|
145e7e470a
|
- MFH: callback test
|
2006-12-04 21:33:22 +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
|
2f9a9c4248
|
add new test
|
2006-11-20 22:17:10 +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 |
|
Antony Dovgal
|
a2a20556d8
|
new test
|
2006-11-13 14:51:11 +00:00 |
|
Ilia Alshanetsky
|
f06762b361
|
Fixed pecl bug #9179 (phpversion("filter") shows wrong version).
|
2006-11-10 01:08:17 +00:00 |
|
Nuno Lopes
|
fb06fa19e3
|
fix test for non English guys
|
2006-11-09 16:38:28 +00:00 |
|
Nuno Lopes
|
98dd25e04c
|
fix an invalid read + invalid free()
|
2006-11-09 16:33:07 +00:00 |
|
Ilia Alshanetsky
|
6516d8e1d6
|
Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to
php_filter.h)
|
2006-11-03 20:08:38 +00:00 |
|
Ilia Alshanetsky
|
683f81f195
|
MFH: Fixed a possible crash when callback function returns a non-modified
value
|
2006-11-03 13:53:24 +00:00 |
|
Antony Dovgal
|
16877a5ad8
|
fix test
|
2006-10-17 22:05:16 +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
|
9809628544
|
s/false/null/
|
2006-10-11 14:55:57 +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
|
3890ca3fcb
|
Improve parameter parsing
|
2006-10-09 19:48:13 +00:00 |
|
Pierre Joye
|
201d790899
|
- used only in HEAD
|
2006-10-04 12:02:46 +00:00 |
|
Pierre Joye
|
7883814424
|
- wrong definition
|
2006-10-04 11:48:04 +00:00 |
|
Pierre Joye
|
f72c1a1224
|
- more tests for the last commits
|
2006-10-03 23:32:33 +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 |
|
Antony Dovgal
|
6212757595
|
fix test
|
2006-10-03 08:44:01 +00:00 |
|
Michael Wallner
|
e7b80e8368
|
- fix (ZTS) build
|
2006-10-03 05:57:52 +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
|
305423c34c
|
Fixed test
|
2006-09-21 23:06:52 +00:00 |
|
Ilia Alshanetsky
|
91c1a54d70
|
make input_get_args() not modify the original values.
|
2006-09-19 23:57:48 +00:00 |
|
Pierre Joye
|
442112503a
|
- add test for callback and input_get and input_get_args
this test fails now, the callback never worked with input_get or args
fix already done, will be applied with the api shake up.
|
2006-09-17 18:03:45 +00:00 |
|
Ilia Alshanetsky
|
6e2add04ea
|
Make float filter handle things like 02.324 properly
|
2006-09-14 17:47:00 +00:00 |
|
Antony Dovgal
|
7a5306598a
|
separate zval only when needed (fixes 035.phpt and doesn't affect SAPI filtering)
|
2006-09-14 15:30:13 +00:00 |
|
Derick Rethans
|
ebbfc21a15
|
- Make passing filter flags as LONG work again.
- Make super globals filtering work again (as quick workaround).
#- Will merge to head later... need to get things sorted out first.
|
2006-09-12 16:10:33 +00:00 |
|
Pierre Joye
|
23919d9115
|
- MFH
|
2006-08-31 22:34:32 +00:00 |
|
Antony Dovgal
|
78c0279bb6
|
add test
|
2006-08-31 22:19:35 +00:00 |
|
Pierre Joye
|
2259578afa
|
- MFH: test for mulitple filter calls
|
2006-08-31 22:17:44 +00:00 |
|
Antony Dovgal
|
5d81cd24c9
|
MFH
|
2006-08-31 22:12:10 +00:00 |
|
Pierre Joye
|
5c7e3ba791
|
- skip these tests for RC3
- CGI does not read commandline options when it sees REQUES_METHOD
- errors are shown two times now, to be checked post RC3
|
2006-08-31 20:17:03 +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 |
|
Antony Dovgal
|
94b3210c38
|
ext/filter z/Z fixes
|
2006-08-31 15:17:23 +00:00 |
|
Ilia Alshanetsky
|
23a7a275ed
|
Removed extra byte
|
2006-08-07 16:53:12 +00:00 |
|
Antony Dovgal
|
60ea962aa3
|
fix leak in php_sapi_filter()
|
2006-08-03 19:35:23 +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 |
|
Ilia Alshanetsky
|
4c2d752fb1
|
Fixed a bug in the filter extension that prevented magic_quotes_gpc from
being applied when RAW filter is used.
|
2006-07-27 18:14:55 +00:00 |
|
Pierre Joye
|
a7768dd36f
|
- readability
|
2006-07-26 23:23:55 +00:00 |
|
Pierre Joye
|
e321c90522
|
- fix test
|
2006-07-26 23:22:53 +00:00 |
|
Antony Dovgal
|
e5f71c36af
|
MFH: check g_hash for NULL before resetting it
|
2006-07-25 10:36:19 +00:00 |
|
Ilia Alshanetsky
|
60b2f49762
|
Fixed compiler warning.
|
2006-07-24 03:58:41 +00:00 |
|
Pierre Joye
|
4219fe6c66
|
- hopla, before I got more conflicts ;)
(fix compiler warnings with latest const char changes)
|
2006-07-22 12:59:15 +00:00 |
|
Nuno Lopes
|
083b13335e
|
use const keyword where possible
|
2006-07-22 12:49:36 +00:00 |
|
Pierre Joye
|
3ce212ccae
|
- silent compiler warnings (char/unsigned char)
|
2006-07-22 09:39:24 +00:00 |
|
Pierre Joye
|
0714c1a3d5
|
- api shake #1, parse_pararameter has to be changed too
|
2006-07-22 09:09:06 +00:00 |
|
Pierre Joye
|
697f4e1f08
|
- API Shake up #1, use input type as first argument in input_get_args
(INPUT_GET/POST)
|
2006-07-22 08:58:03 +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
|
e8241e59ac
|
no need to fetch name and free it immediately after that
|
2006-07-19 08:35:55 +00:00 |
|
Antony Dovgal
|
28c9afe35d
|
fix tests
|
2006-07-19 08:26:50 +00:00 |
|
Antony Dovgal
|
4e8a4a4235
|
MFH: increase refcount when adding zval to the result array
|
2006-07-19 07:18:34 +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 |
|
SVN Migration
|
608baa409a
|
This commit was manufactured by cvs2svn to create branch 'PHP_5_2'.
|
2006-05-05 15:49:42 +00:00 |
|
SVN Migration
|
4571221d8e
|
This commit was manufactured by cvs2svn to create branch 'PHP_5_1'.
|
2005-08-08 23:59:05 +00:00 |
|
Rasmus Lerdorf
|
e56660a1ad
|
Correct handling of the UNSAFE_RAW filter
|
2005-05-19 21:08:04 +00:00 |
|
Rasmus Lerdorf
|
06aede5b5d
|
Filter skeleton code. No actual filters yet.
|
2005-02-23 22:41:43 +00:00 |
|