Ilia Alshanetsky
932f8d4cbd
Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
...
domain name addresses containing >1 -).
2011-12-04 14:52:40 +00:00
Xinchen Hui
241c5f0258
add skipif
2011-09-06 08:11:37 +00:00
Xinchen Hui
83f61c2c53
Fixed compiler warning "incompatible pointer type"
2011-09-05 15:02:21 +00:00
Pierre Joye
c4d6b3d786
- add skipif
2011-09-04 22:21:58 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Pierrick Charron
fb5da94c1b
Delete empty test files (old MQ tests)
2011-07-22 12:12:05 +00:00
Pierre Joye
cc1c7af037
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Felipe Pena
f020659d9d
- Fix logic, it must check for both flags (as says the comment in the code) (bug #54912 )
2011-05-24 22:34:07 +00:00
Felipe Pena
b28294acc2
- Fixed bug #54912 (filter/logical_filters.c:685:32: warning: use of logical || with constant op)
...
Initial patch by: crrodriguez at opensuse dot org
2011-05-24 22:24:06 +00:00
Rasmus Lerdorf
2a927b5d7f
Make sure 'E' is included in the variables_order, otherwise
...
this test won't work.
2011-05-13 21:54:25 +00:00
Ilia Alshanetsky
118695a4ea
#doc
...
Added 3rd parameter to filter_var_array() and filter_input_array()
functions that allows disabling addition of empty elements
2011-04-28 12:32:47 +00:00
Ilia Alshanetsky
063aba2e65
Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented).
2011-04-03 16:30:31 +00:00
Gustavo André dos Santos Lopes
426f31e790
- Changed port validation introduced in commit #308035 to consider
...
negative ports and ports > 65535 as invalid.
The tests that fail due to #308035 in the standard ext were not
fixed. If the behavior in those tests turns out to be the
desirable one, both this commit and #308035 ought to be reverted
or at least adapted.
2011-02-05 22:37:00 +00:00
Ilia Alshanetsky
109b8e99e0
Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
2011-02-04 21:41:15 +00:00
Ilia Alshanetsky
9c29975e4d
Fixed compiler warning
2011-01-23 16:44:58 +00:00
Pierre Joye
fc4853f34b
- kill local redeclaration by using a less common name
2011-01-23 09:46:06 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Ilia Alshanetsky
1d7294f73c
Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)).
2010-12-22 16:18:59 +00:00
Ilia Alshanetsky
e90265ac97
Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6).
2010-12-12 19:54:21 +00:00
Ilia Alshanetsky
c6bbf9ee57
Fixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges)
2010-12-12 18:36:21 +00:00
Pierre Joye
a7ffa09e18
- add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd
2010-12-11 22:18:10 +00:00
Gustavo André dos Santos Lopes
33af99cbcf
- Fixed the filter extension accepting IPv4 octets with a leading 0 as that
...
belongs to the unsupported "dotted octal" representation.
- Fixed bug #53236 (problems in the validation of IPv6 addresses with leading
and trailing :: in the filter extension).
- Fixed bug #50117 (problems in the validation of IPv6 addresses with IPv4
addresses and ::).
2010-11-08 04:36:15 +00:00
Adam Harvey
1ac0c55897
Fix bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large
...
amount of data).
2010-09-27 07:08:04 +00:00
Pierre Joye
3bdac76cf1
- fix ts build (zend_list_insert change)
2010-09-17 10:51:53 +00:00
Dmitry Stogov
c0cf4ef129
Removed useless copying
2010-08-26 12:21:06 +00:00
Kalle Sommer Nielsen
a448b6a72b
MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
2010-08-11 21:41:30 +00:00
Kalle Sommer Nielsen
febee11285
Removed register_globals
2010-04-21 01:27:22 +00:00
Dmitry Stogov
dd5c478be6
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
2010-04-20 11:05:54 +00:00
Adam Harvey
afa1045305
Added explanatory comments to filter_input and filter_input_array to document
...
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).
2010-04-20 04:31:11 +00:00
Kalle Sommer Nielsen
a5304b138f
Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session)
2010-04-15 16:36:08 +00:00
Rasmus Lerdorf
42bc0de99a
Fix tests
2010-04-02 18:27:48 +00:00
Rasmus Lerdorf
fcbb8e96f4
Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576
2010-04-02 17:56:37 +00:00
Rasmus Lerdorf
49b8860ace
Add new full_special_chars filter to tests
2010-04-01 18:04:57 +00:00
Rasmus Lerdorf
1c26f48b8a
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
2010-03-31 23:56:30 +00:00
Rasmus Lerdorf
4d75c64415
Added the full htmlspecialchars() functionality which includes utf-8
...
validation as a default filter.
2010-03-31 21:50:36 +00:00
Raphael Geissert
db01920ad7
Detect overflows before they occur in the filter extension (bug #51023 )
...
Thanks to Sean Finney for the patch
2010-03-06 18:54:55 +00:00
Adam Harvey
0efe78a577
Fix for bug #51192 (FILTER_VALIDATE_URL will invalidate a hostname that includes '-'). Original patch by solar@azrael.ws.
2010-03-03 09:25:50 +00:00
Ilia Alshanetsky
1af7f5bda7
Added test case for bug #50632
2010-01-05 12:25:00 +00:00
Ilia Alshanetsky
299c4c43ed
Fixed bug #50632 (filter_input() does not return default value if the variable does not exist)
2010-01-03 22:58:37 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Ilia Alshanetsky
c2296af6a6
Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL.
2009-12-24 18:47:15 +00:00
Jani Taskinen
16dbf3060b
- Fix test
2009-12-14 09:26:49 +00:00
Felipe Pena
a94558c855
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
2009-12-08 01:57:37 +00:00
Ilia Alshanetsky
2be6de0a50
Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension.
2009-12-07 13:43:44 +00:00
Rasmus Lerdorf
f76c5282ae
When Ilia fixed bug #49470 and removed the '/' as a valid
...
email char, he forgot to make the corresponding change in
filter test 033.
2009-11-23 14:54:57 +00:00
Felipe Pena
64f530d182
- Improve test
2009-11-15 17:05:48 +00:00
Felipe Pena
8b456901f5
- Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?).
...
(Patch by Pierrick)
2009-11-15 16:53:40 +00:00
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Ilia Alshanetsky
6d0b9484d9
Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters).
2009-09-07 02:35:25 +00:00
Pierre Joye
3dd3cbb662
- fix #49274 , filter_var does not accept object without a toString implementation
2009-09-05 17:35:26 +00:00