Commit Graph

57 Commits

Author SHA1 Message Date
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
Antony Dovgal
54188262f2 increase refcount when adding zval to the result array 2006-07-19 07:18:25 +00:00
Antony Dovgal
6e5e4aa05d fix compile warnings 2006-07-19 06:56:28 +00:00
Marcus Boerger
fe7ba735bc - CS 2006-07-18 23:56:53 +00:00
Marcus Boerger
80807ea353 - Fix build 2006-07-18 23:52:09 +00:00
Pierre Joye
011bb5fef6 - initialize the custom values to null (optional arg)
- raise error for REQUEST and unknown mode
2006-06-22 10:58:13 +00:00
Pierre Joye
deec9a6ce1 - fix windows builds, error with declarations 2006-05-19 01:45:22 +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
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
Rasmus Lerdorf
6219fa9f01 WS fix 2006-05-10 23:10:55 +00:00
Rasmus Lerdorf
294e1cd2d8 auto_globals_jit support for ext/filter 2006-05-10 23:09:03 +00:00
Pierre Joye
1a0f27a707 - #7586 (pecl), filter is not reseted between element 2006-05-09 11:14:43 +00:00
Pierre Joye
fd2199bf53 - one line inline doc 2006-05-09 10:24:09 +00:00
Pierre Joye
f8c8a13e18 - fix logic, scalar is the default 2006-05-09 00:46:31 +00:00
Pierre Joye
f03e94f985 - remove unused arg and use the right one 2006-05-09 00:29:30 +00:00
Pierre Joye
4cc946a706 - this one too must be changed
NB: add a define for the default string name as well
2006-05-08 21:26:09 +00:00
Pierre Joye
458cdcf323 - update/add inline docs
- CS
2006-05-08 20:57:59 +00:00
Pierre Joye
f51fb7853f - fix tsrm build 2006-05-08 16:34:12 +00:00
Pierre Joye
1fd3c9baf2 - #6136, ini_set should not be able to change the filter.default 2006-05-08 16:24:12 +00:00
Pierre Joye
826a577675 - add input_get_args (input_get is kept untouched for now)
- add FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY
- update ReST doc and add an example
2006-05-08 14:39:57 +00:00
Pierre Joye
fdeb6ba904 - fix possible leak, when orig_array_ptr is null 2006-05-01 17:14:40 +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
655d2824d4 - Go with 0.9.4. 2006-01-23 09:04:50 +00:00
Derick Rethans
c839665f10 - Fixed constant names in tests. 2006-01-21 15:57:43 +00:00
Derick Rethans
a0bff6f8d6 - namespace protect constants 2006-01-21 12:48:46 +00:00
foobar
61a80cf37b ws fix 2006-01-14 15:10:54 +00:00
foobar
4b4d6e54c9 - Fixed headers 2006-01-14 14:58:35 +00:00
Frank M. Kromann
c443a8d20b Allow the extension to be compiled as shared object on win32 2005-12-08 19:43:53 +00:00
Antony Dovgal
a42b9d7a0f fix CS 2005-12-06 15:20:53 +00:00
Antony Dovgal
a317347723 accept strings and arrays as callback name 2005-12-06 15:16:33 +00:00
foobar
a05e8e335d - nuke php3 legacy 2005-12-06 02:10:00 +00:00
foobar
1b716123f2 - No need for extra strlen() call here 2005-11-23 15:51:45 +00:00
foobar
754d011d8d fix leaks 2005-11-23 15:50:27 +00:00
foobar
f94c2783b4 - Fixed PECL bug #6021: parse_str() returns empty array when filter enabled 2005-11-23 00:20:16 +00:00
Derick Rethans
168db42521 - Ready 0.9.3. 2005-11-18 09:56:11 +00:00
Derick Rethans
ccbf79462f - Fixed default so that it does not even encode quotes. 2005-11-18 09:17:59 +00:00
foobar
1c41c53e39 - Filters may behave differently with empty string so pass it on 2005-11-17 00:49:48 +00:00
foobar
2f42d7df03 - Fix PECL bug #5963 2005-11-17 00:03:03 +00:00
foobar
0907893b2b - Prepare for including in PHP core 2005-11-15 11:55:28 +00:00
Derick Rethans
04d1624be9 - Make it compile when inside the PHP source tree. 2005-10-26 15:05:22 +00:00
Derick Rethans
35a0866735 - Allow settable default flags for the filters. 2005-10-26 14:37:08 +00:00
Derick Rethans
a3997030fa - Implemented this like the comment says, otherwise it will ofcourse modify
both instances of this variable name...
2005-10-26 13:20:52 +00:00
Derick Rethans
c07f4ff8b6 - More ZTS fixes. 2005-10-26 07:56:16 +00:00
Derick Rethans
9f28be05e3 - Fixed ZTS mode
- Added input_name_to_filter() function.
2005-10-26 07:48:51 +00:00
Derick Rethans
bc6dba17e4 - Fixed segfault in case an empty parameter was passed. 2005-10-25 07:54:13 +00:00
Derick Rethans
17bc1d09e8 - Implemented user level data filter.
- Fixed a memory leak.
2005-10-04 14:47:30 +00:00
Derick Rethans
6f9c13f222 - Add a function that returns whether a specific input variable exists or not. 2005-10-04 13:42:52 +00:00
Derick Rethans
01520328e6 - Implemented input_filters_list() function to return all supported filters. 2005-09-28 09:10:45 +00:00
Derick Rethans
c319c60125 - Implement validate_ip filter for IPv4. 2005-09-26 13:45:38 +00:00
Derick Rethans
12945df662 - Implemented validate_url filter. 2005-09-26 06:57:05 +00:00