Andrea Faulds
e5eb9530ab
Use "float" and "integer" in typehint and zpp errors
2014-12-21 13:23:02 +00:00
Kévin Dunglas
54f06d2381
New label length test
2014-11-17 08:10:29 +01:00
Kévin Dunglas
a8742d30ea
Fix ext/filter/tests/033.phpt
2014-11-14 11:40:39 +01:00
Kévin Dunglas
5ad3f87557
Fix filter_list test
2014-11-14 10:56:39 +01:00
Kévin Dunglas
728945d0a5
FILTER_VALIDATE_DOMAIN and RFC conformance for FILTER_VALIDATE_URL
2014-11-14 10:01:53 +01:00
Nikita Popov
43f1c94dda
Review a few more SEPARATE_ZVAL_IF_NOT_REF usages
2014-10-09 12:51:05 +02:00
Ferenc Kovacs
c66a4e84bb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
adding a reproduce script for bug #49184
2014-07-02 22:38:27 +02:00
Ferenc Kovacs
37a13d2df7
adding a reproduce script for bug #49184
2014-07-02 22:37:58 +02:00
Adam Harvey
6f52f566f3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Remove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.
2013-12-03 14:51:03 -08:00
Adam Harvey
d1314893fd
Remove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.
...
These were returned to the general allocation pool by RFC 3330, and hence
shouldn't cause an IP address validation failure due to being reserved. At
least 128.0.0.0/16 is in use on the public Internet today.
Fixes bug #66229 (128.0.0.0/16 isn't reserved any longer).
2013-12-03 14:46:15 -08:00
Rasmus Lerdorf
55b16f40a2
Merge branch 'pull-request/499'
...
Fix RFC 6598 IPv4 Reserved Range Checks
2013-10-19 00:43:21 -07:00
Rasmus Lerdorf
6919d15a2e
Merge branch 'pull-request/499'
...
Fix RFC 6598 IPv4 Reserved Range Checks
2013-10-19 00:42:53 -07:00
David Soria Parra
5e3da04fb0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS for added reserved ip addresses according to RFC 6598
Add RFC 6598 IPs to reserved addresses
2013-09-17 09:55:03 +02:00
Sebastian Nohn
7c279df6ae
Add RFC 6598 IPs to reserved addresses
...
(cherry picked from commit b3f5b822e9
)
2013-09-17 09:52:53 +02:00
David Soria Parra
3d6ac70e66
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS for #60577
NEWS for bug #64441
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
EmptyIterator now implements Countable; fixes bug 60577
News for bugfix #64157
Bug 64157 Changed error message to make sense
2013-09-16 23:36:37 +02:00
Alex Bobrov
18b54a2366
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
...
(cherry picked from commit c149d4ee4be81ecf005eafd43ede06e70aa4c985)
2013-09-16 05:23:52 +02:00
Xinchen Hui
b3f6cc20e0
Merge branch 'PHP-5.4' into PHP-5.5
2013-05-09 15:57:44 +08:00
Xinchen Hui
699dc04c55
Missed SKIPIF
2013-05-09 15:57:25 +08:00
Martin Jansen
6186b67600
Add option to specific the expected separator character.
2013-02-03 13:23:54 +01:00
Martin Jansen
2f33443883
ext/filter support for validating MAC addresses.
2013-02-03 13:23:53 +01:00
Martin Jansen
dcd99c4b19
Add more tests for the new +0/-0 behaviour.
2012-12-29 03:31:22 +01:00
Martin Jansen
3990641e62
Treat "+0" and "-0" as valid integers just like var_dump() does.
...
This fixes bug #54096 .
2012-12-29 03:31:13 +01:00
Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Lars Strojny
a26390ef0c
Bug #49510 : Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false
2012-09-02 22:10:23 +02:00
Anatoliy Belsky
455040c4ab
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug ext\filter\tests\bug52209.phpt fails
2012-04-30 10:28:00 +02:00
Anatoliy Belsky
8249581a2d
Fix bug ext\filter\tests\bug52209.phpt fails
2012-04-30 10:25:54 +02:00
Ilia Alshanetsky
8222ae737c
Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
...
domain name addresses containing >1 -).
2011-12-04 14:52:40 +00:00
Ilia Alshanetsky
dfa08dc325
Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
...
domain name addresses containing >1 -).
2011-12-04 14:52:40 +00:00
Xinchen Hui
3d107d07ee
Added skipif
2011-09-06 09:22:06 +00:00
Xinchen Hui
96ca3f1981
add skipif
2011-09-06 08:11:37 +00:00
Xinchen Hui
13eb205d6c
add skipif
2011-09-06 08:11:37 +00:00
Pierre Joye
d7be9cf675
- add skipif
2011-09-04 22:21:58 +00:00
Pierre Joye
10f68a92ca
- add skipif
2011-09-04 22:21:58 +00:00
Pierrick Charron
824726073b
Delete empty test files (old MQ tests)
2011-07-22 12:12:05 +00:00
Pierre Joye
45420bb669
- 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, missing tests changes in 5.4
2011-07-22 11:56:20 +00:00
Rasmus Lerdorf
6613fefb80
Make sure 'E' is included in the variables_order, otherwise
...
this test won't work.
2011-05-13 21:54:25 +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
fc7ee596f6
#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
47012ccd8f
Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented).
2011-04-03 16:30:31 +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
a888ee434b
- 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
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
218448bfa0
Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
2011-02-04 21:41:15 +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
a68864969e
Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)).
2010-12-22 16:18:59 +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
fbe4532b48
Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6).
2010-12-12 19:54:21 +00:00