Adam Harvey
b47136d332
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
Rasmus Lerdorf
9744284109
Fix tests
2010-04-02 18:27:48 +00:00
Rasmus Lerdorf
6d77506cfd
Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576
2010-04-02 17:56:37 +00:00
Rasmus Lerdorf
8b1d84a6ce
Add new full_special_chars filter to tests
2010-04-01 18:04:57 +00:00
Rasmus Lerdorf
b529350d4a
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
2010-03-31 23:56:30 +00:00
Rasmus Lerdorf
a5b5743d71
full_special_chars filter from trunk - approved by johannes
2010-03-31 22:59:09 +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
Pierre Joye
a134024ea3
- let try to be smart, read the bug report....
2009-07-18 17:06:21 +00:00
Zoe Slattery
3c3c9d544e
Adding explanation
2009-07-18 16:53:54 +00:00
Zoe Slattery
d93cf1f610
removing empty XFAIL sections
2009-07-18 16:41:16 +00:00
Felipe Pena
520591607e
- MFH: Fixed bug #48762 (IPv6 address filter still rejects valid address)
2009-07-16 23:29:36 +00:00
Ilia Alshanetsky
0e05af63ed
MFB: Fixed bug #48808 (FILTER_VALIDATE_EMAIL allows some invalid e-mail
...
syntaxes)
2009-07-07 00:44:20 +00:00
Ilia Alshanetsky
dac8acd1c1
MFB: Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
...
components).
2009-07-05 16:08:05 +00:00
Felipe Pena
8da7275f1b
- MFH: Fix the fix (Bug #46973 - IPv6 address filter rejects valid address)
2009-06-10 19:01:17 +00:00
Jani Taskinen
996eab8983
- Fixed ini deprecation message issues in tests.
...
# CGI headers are stripped and the error ends up there with CGI..
2009-05-06 20:32:00 +00:00
Zoe Slattery
56e61fb2a5
Fixed tests - thanks mgdm
2009-05-05 13:53:11 +00:00
Kalle Sommer Nielsen
5a6d3cc42b
Added E_DEPRECATED startup notice (5.3 only)
2009-05-04 21:18:22 +00:00
Stanislav Malyshev
94b7a00760
fix for #47930
2009-04-28 21:30:23 +00:00
Antony Dovgal
2627e08886
MFH: revert wrong fix for bug #47930
2009-04-14 14:18:35 +00:00
Stanislav Malyshev
d62333c7d6
fix #47930
2009-04-13 19:21:28 +00:00
Pierre Joye
a35ba55065
- remove last test for MAX_INT, did not work on x64 and this case is
...
covered by bug47745.phpt
2009-03-31 17:59:19 +00:00
Matt Wilmas
f75fff5ea7
- MFH: Removed unused LONG_SIGN_MASK definition, and a stray \
...
- Changed sign flag to int (it's no longer being used in a calculation)
2009-03-31 11:22:08 +00:00
Dmitry Stogov
5e274297f8
Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer)
2009-03-31 10:02:40 +00:00
Scott MacVicar
5df74915f7
MFH Fix test, -2147483648 is a valid unsigned int where -2147483649 isn't.
2009-03-30 00:41:09 +00:00
Ilia Alshanetsky
d348b2723c
Fixed bug #47772 (FILTER_VALIDATE_EMAIL allows foo@bar. addresses)
2009-03-25 18:51:44 +00:00
Ilia Alshanetsky
3896684ca0
Fixed bug #47598 (FILTER_VALIDATE_EMAIL is locale aware)
2009-03-08 18:21:15 +00:00
Ilia Alshanetsky
0f3831a2f1
Fixed bug #47435 (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6
...
addresses in the filter extension)
2009-02-23 16:52:29 +00:00
Ilia Alshanetsky
384f89f85e
Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses as
...
invalid)
2009-02-02 23:50:31 +00:00
Arnaud Le Blanc
665b8f5510
MFH: XFAIL test
2009-01-08 18:58:34 +00:00
Felipe Pena
3d2edc7c1c
- MFH: Fixed bug #46973 (IPv6 address filter rejects valid address)
2008-12-31 15:03:18 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Scott MacVicar
e5e17578bf
MFB: Back out bugfix for #42718 as this broke magic_quotes_gpc
2008-12-06 17:25:35 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Arnaud Le Blanc
517e365ce1
MFH: Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as
...
default filter)
2008-11-02 22:22:43 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00