Arhell
fad0c5be77
update links
2022-08-07 11:54:16 +03:00
Mehdi Achour
83a86bca72
Fixes #4261 : PHP 7.2 compatibility issues: INTL_IDNA_VARIANT_2003 has been deprecated
...
* Update to HTMLPurifier 4.10.0 which fixes IDNA deprecation
* Apply patch from 89b3fe431e
* Add PHP 7.4 to provoke breakage
* Use INTL_IDNA_VARIANT_UTS46 when available
2019-05-29 21:45:02 +02:00
Carsten Brandt
b4c48cd0db
fixed code style
2017-06-08 09:15:26 +02:00
Alexander Makarov
15c7a56ad8
Use fsockopen
2017-05-22 14:46:32 +03:00
Ken Guest
eae177d81d
Only use CURLOPT_CONNECT_ONLY if defined.
2017-05-22 14:13:49 +03:00
Ken Guest
9d122b32bf
Timeout in checkMxPorts is now configurable, using curl for better granularity.
2017-05-22 14:13:45 +03:00
Carsten Brandt
8b1659216b
fixed regressin in CEmailValidator::validateValue()
...
fixes #3764 , which was introduced by #3283
2016-01-05 16:56:53 +01:00
Alexander Makarov
4d60104268
Fixes #3731 : updated CEmailValidator::validateValue() description
2015-01-28 01:25:04 +03:00
DaSourcerer
4b52a1a510
Merge branch 'master' of https://github.com/yiisoft/yii into 164-CEmailValidator
2014-05-13 07:48:11 +02:00
DaSourcerer
b34d0133c1
Simplification for mxSort()
2014-05-13 07:47:44 +02:00
Taras Gudz
8c68de1bb6
Fixed #3283
2014-04-04 14:16:18 +04:00
resurtm
5f99be770d
Additions to #2602 :
...
1. Proper Net_IDNA2 usage. Net_IDNA2::decode() and Net_IDNA2::encode()
accepts only domains, not full URLs. Before this fix framework used
to pass full URLs which is wrong usage.
2. If CEmailValidator or CUrlValidator is being used under PHP 5.3.0+,
native `idn` PHP extension will be used (`idn_to_utf8` and `idn_to_ascii`
functions in particular). Otherwise Net_IDNA2 will be used (for PHP
< 5.3.0).
2013-07-04 19:32:09 +06:00
creocoder
bbedefb89f
Added CEmailValidator fix
2013-07-04 02:43:45 +04:00
resurtm
ed635aa9e2
Some validators used to cause warnings or errors in case non-scalar array typed values being checked.
2013-03-09 22:12:18 +06:00
resurtm
10d7999ba4
Vendors: phlymail's Net_IDNA was replaced by PEAR Net_IDNA2.
2013-03-08 23:46:34 +06:00
armab
7b54a509c8
Update framework/validators/CEmailValidator.php
...
If fsockopen error "Connection refused" (error code: 61) is reached, yii hangs with uncatched 500 error code.
Output html code:
<h1>PHP Error [2]</h1>
<p>fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to mail.somedomain.com:25 (Connection refused)</p>
2013-02-23 00:35:53 +02:00
Carsten Brandt
04395c4b40
Added note to emailvalidator checkPort and checkMX
2013-02-15 20:58:16 +01:00
Abdul Malik Ikhsan
6247adaf26
change copyright symbol
2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a
update copyright year
...
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Nagash
1b165448af
Fixed 1492: jQuery.noConflict() issue
2012-09-30 20:35:37 +03:00
Alexander Makarov
d865a3bab8
Fixes #1057 Removed SVN ids
2012-09-09 22:23:45 +04:00
resurtm
9dfd781689
Removed support of the PECL idn library because it's not tested.
2012-08-25 16:42:09 +06:00
resurtm
9d4b6c41cb
Changelog and docblocks.
2012-08-25 16:32:19 +06:00
resurtm
b598442605
Fixes #1286 and #1184 . Draft version.
2012-08-25 16:16:51 +06:00
mdomba (mdwork)
1df0f13d1c
added missing parameters documentation
2012-08-08 15:51:56 +02:00
DaSourcerer
c5387e8e4f
phpdoc
2012-05-22 13:30:57 +02:00
DaSourcerer
9ba768cd1f
revert to 37df0b353c
2012-05-22 13:29:12 +02:00
DaSourcerer
fe9bce00c0
Provide fallback in case dns_get_record() isn't available
2012-05-22 12:45:57 +02:00
DaSourcerer
37df0b353c
Added a check for the availability of dns_get_record()
2012-05-16 17:42:25 +02:00
DaSourcerer
7333cc56e7
improved code readability
2012-05-16 14:55:57 +02:00
DaSourcerer
71dcb0acc5
Sorting for MX records
2012-05-16 14:14:17 +02:00
DaSourcerer
8861794594
First draft for ticket #164
2012-05-11 20:07:56 +02:00
mdomba
a7ef3d5d02
removed 1.0.x reference from documentation
2011-12-28 12:29:24 +00:00
qiang.xue
86a3a9c713
Added input length check to email and url validators to improve security
2011-05-28 14:31:04 +00:00
qiang.xue
428ad473b6
added client validation support for CCompareValidator.
2011-03-25 01:50:48 +00:00
qiang.xue
f2c395cf7a
* (Fixes issue 1763) Added support for performing seamless client-side data validation using CActiveForm
2011-03-24 21:49:40 +00:00
qiang.xue
4be0af6917
changed copyright year.
2011-01-01 19:31:13 +00:00
mdomba
72b974560b
Updated PHPDoc @param parameter names
2010-09-23 13:28:52 +00:00
qiang.xue
495cde2919
* (Fixes issue 955) Added validateValue() to url and email validators.
2010-02-26 04:34:30 +00:00
qiang.xue
eb54ba7407
modified copyright info.
2010-01-07 21:02:00 +00:00
qiang.xue
c89b90a86e
merge from 1.0
2010-01-02 13:34:38 +00:00
qiang.xue
86497b872d
merge from 1.0
2009-12-07 17:00:34 +00:00
qiang.xue
c168b8a4af
merge from 1.0
2009-08-20 18:15:14 +00:00
qiang.xue
8efec6ae4c
merge from 1.0
2009-05-07 21:43:44 +00:00
qiang.xue
a2d8907c6a
merge from 1.0
2009-04-05 21:36:33 +00:00
qiang.xue
20bf28469f
merge from 1.0.
2008-12-30 23:14:31 +00:00
qiang.xue
cf9b8dec6a
Changed Yii::t() and added a category parameter as its first parameter
2008-10-24 01:42:03 +00:00
qiang.xue
55bdd955a5
removed carriage returns from files.
2008-10-13 21:26:19 +00:00
qiang.xue
d8baee7a8f
changed translatable message format from yii## to yii#.
...
changed how translatable messages in validators are specified.
updated message extractor command.
updated requirement checker.
2008-10-03 02:10:43 +00:00
qiang.xue
662798d8a5
2008-09-28 12:03:53 +00:00