33 Commits

Author SHA1 Message Date
Arhell
fad0c5be77 update links 2022-08-07 11:54:16 +03:00
Alexander
7adcaac524 Fix #4291: The scheme (protocol) is deleted when validateIDN is enabled after validation 2020-03-18 18:28:45 +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
resurtm
05bca7caa7 CUrlValidator + didn't respect custom value. 2013-07-05 17:28:21 +06: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
9ea6e16c7c IDNA2 fix 2013-07-04 00:54:33 +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
borales
a7af2c5371 Fixing some typos, PHPDocs
[ci skip]
2013-03-06 00:24:35 +02: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
33e499d98d Extra unneeded dot removed from regexp related to the IDN validation. 2012-09-08 12:35:05 +06: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
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
keyboard.idol@gmail.com
d19ad649d8 2011-01-25 12:13:38 +00:00
keyboard.idol@gmail.com
1de5aa56bd 2011-01-25 03:23:54 +00:00
keyboard.idol@gmail.com
0375db1363 (Fixes issue 1786) 2011-01-25 01:07:47 +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
c168b8a4af merge from 1.0 2009-08-20 18:15:14 +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