This repository was archived by the owner on Oct 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -1484,7 +1484,7 @@ public function isValid($value)
1484
1484
// Check each domain part
1485
1485
$ checked = false ;
1486
1486
foreach ($ regexChars as $ regexKey => $ regexChar ) {
1487
- $ status = @ preg_match ($ regexChar , $ domainPart );
1487
+ $ status = preg_match ($ regexChar , $ domainPart );
1488
1488
if ($ status > 0 ) {
1489
1489
$ length = 63 ;
1490
1490
if (array_key_exists (strtoupper ($ this ->_tld ), $ this ->_idnLength )
Original file line number Diff line number Diff line change 184
184
68 => '/^[\x{A000}-\x{A48F}]{1,63}$/iu ' ,
185
185
69 => '/^[\x{A490}-\x{A4CF}]{1,63}$/iu ' ,
186
186
70 => '/^[\x{AC00}-\x{D7AF}]{1,63}$/iu ' ,
187
- 71 => '/^[\x{D800}-\x{DB7F}]{1,63}$/iu ' ,
188
- 72 => '/^[\x{DC00}-\x{DFFF}]{1,63}$/iu ' ,
189
187
73 => '/^[\x{F900}-\x{FAFF}]{1,63}$/iu ' ,
190
188
74 => '/^[\x{FB00}-\x{FB4F}]{1,63}$/iu ' ,
191
189
75 => '/^[\x{FB50}-\x{FDFF}]{1,63}$/iu ' ,
Original file line number Diff line number Diff line change @@ -527,13 +527,4 @@ public function testVermögensberaterIdns()
527
527
$ validator = new Zend_Validate_Hostname ();
528
528
$ this ->assertTrue ($ validator ->isValid ('mysite.vermögensberater ' ));
529
529
}
530
-
531
- /**
532
- * @group GH-322
533
- */
534
- public function testCom ()
535
- {
536
- $ validator = new Zend_Validate_Hostname ();
537
- $ this ->assertTrue ($ validator ->isValid ('example.com ' ));
538
- }
539
530
}
You can’t perform that action at this time.
0 commit comments