1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00
Commit Graph

53 Commits

Author SHA1 Message Date
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
Pierre Joye
a62301fc98 - invalid filter id should not return unsafe values 2006-12-05 01:23:42 +00:00
Pierre Joye
4fcf964c65 - MFB: use %s 2006-12-04 21:23:02 +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
93bb912107 new test 2006-11-13 14:50:55 +00:00
Nuno Lopes
9b04c0d407 MFB: fix test 2006-11-09 16:38:55 +00:00
Pierre Joye
79904b9b08 - add test for callback with non modified var
- update changelog
2006-10-25 17:23:45 +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
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
Antony Dovgal
8bc414ee8e fix test 2006-09-19 11:29:50 +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
ba01adbd0e fix test 2006-09-14 15:00:52 +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
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
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
0b0a4d02ca - fix test 2006-07-26 23:24:11 +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
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
d37337c6df fix tests 2006-07-19 08:25:45 +00:00
Pierre Joye
c095489df3 - #7733, values using E/e returns wrong result 2006-05-28 01:12:55 +00:00
Pierre Joye
e8f043b449 -#7715, fix float validation when using '.23' or '123'
have worked before using my version, bug introduced in later commits.
2006-05-25 13:27:51 +00:00
Pierre Joye
f4890ace58 - remove 033.php 2006-05-25 11:13:42 +00:00
Pierre Joye
c0e8d54844 - move 033.php to 033_run.php, 033.php cannot be run 2006-05-25 11:13:23 +00:00
Rasmus Lerdorf
3562f88b7e Fix expected output 2006-05-25 09:12:11 +00:00
Rasmus Lerdorf
804a44e7bc Big filter test - note that a number of these currently fail 2006-05-25 08:06:34 +00:00
Pierre Joye
8e95777e47 - NULL is returned when a variable is not false, FALSE when the validation
failed
- add tests for input_get_args
2006-05-14 13:54:10 +00:00
Pierre Joye
cd4051dce5 - add test for INT 2006-05-14 13:12:57 +00:00
Pierre Joye
3ac4fc8311 - add var_name##_len to FETCH_STRING_OPTION
- add tests for float (031)
- fix name for IPv6 test
2006-05-14 01:47:40 +00:00
Pierre Joye
73ed3ce99f - add IPv6 basic support
unicast, multicast or other local loop will come after 0.10.0
  test 014 fails:
  "Notice: Object of class stdClass to string conversion" is now
  "Catchable fatal error: Object of class stdClass could not be converted
  to IS_STRING", to verify ...
2006-05-13 02:43:44 +00:00
Pierre Joye
1a0f27a707 - #7586 (pecl), filter is not reseted between element 2006-05-09 11:14:43 +00:00
Derick Rethans
a3349bd3ff - Use pcre convenience function that also caches.
#- Patch by pierre.
2006-04-11 14:41:56 +00:00
Derick Rethans
8a05386f7d - Implemented PECL req #6641: negative values for hexadecimal and octal numbers
are not supported.
2006-01-31 19:12:29 +00:00
Derick Rethans
e3f84aafc8 - Fixed tests. 2006-01-31 19:09:07 +00:00
Derick Rethans
d96c1d0895 - Fixed PECL bug #6639: uppercase hexadecimal digits are not supported. 2006-01-31 18:51:49 +00:00
Derick Rethans
c839665f10 - Fixed constant names in tests. 2006-01-21 15:57:43 +00:00
foobar
0c90ddd3a1 fix tests 2005-12-07 11:53:28 +00:00
Antony Dovgal
6cebabed0a add tests
Code covered:	91.3 %
2005-12-06 15:18:56 +00:00