Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit d08473b

Browse files
committed
Add ß (Latin small letter sharp s) to .de domain IDNA check
The ß was introduced in the [Unicode® Technical Standard magento#46](http://unicode.org/reports/tr46/#Deviations) standard. According to [denic.de](http://www.denic.de/en/domains/internationalized-domain-names/idn-list.html) this is a valid character. In the IDNA2003 standard the ß character is not included. This result in a false positive check. IMHO the IDNA2003 will be replaced soon with IDNA2008 and this is a minor side effect.
1 parent 0d39275 commit d08473b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Zend/Validate/Hostname.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
10431043
'CL' => array(1 => '/^[\x{002d}0-9a-záéíñóúü]{1,63}$/iu'),
10441044
'CN' => 'Hostname/Cn.php',
10451045
'COM' => 'Hostname/Com.php',
1046-
'DE' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿăąāćĉčċďđĕěėęēğĝġģĥħĭĩįīıĵķĺľļłńňņŋŏőōœĸŕřŗśŝšşťţŧŭůűũųūŵŷźžż]{1,63}$/iu'),
1046+
'DE' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿăąāćĉčċďđĕěėęēğĝġģĥħĭĩįīıĵķĺľļłńňņŋŏőōœĸŕřŗśŝšşťßţŧŭůűũųūŵŷźžż]{1,63}$/iu'),
10471047
'DK' => array(1 => '/^[\x{002d}0-9a-zäéöüæøå]{1,63}$/iu'),
10481048
'ES' => array(1 => '/^[\x{002d}0-9a-zàáçèéíïñòóúü·]{1,63}$/iu'),
10491049
'EU' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿ]{1,63}$/iu',

0 commit comments

Comments
 (0)