Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 61b5b93

Browse files
committed
Merge branch 'hotfix/253'
Close #253 Fixes #252
2 parents ff5f127 + b0e6221 commit 61b5b93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file, in reverse
1010

1111
### Changed
1212

13-
- Nothing.
13+
- [#253](https://github.com/zendframework/zend-validator/pull/253) updates the list of allowed characters for a `DE` domain name to match those published by IDN.
1414

1515
### Deprecated
1616

src/Hostname.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ class Hostname extends AbstractValidator
16281628
* (.CH) Switzerland https://nic.switch.ch/reg/ocView.action?res=EF6GW2JBPVTG67DLNIQXU234MN6SC33JNQQGI7L6#anhang1
16291629
* (.CL) Chile http://www.iana.org/domains/idn-tables/tables/cl_latn_1.0.html
16301630
* (.COM) International http://www.verisign.com/information-services/naming-services/internationalized-domain-names/index.html
1631-
* (.DE) Germany http://www.denic.de/en/domains/idns/liste.html
1631+
* (.DE) Germany https://www.denic.de/en/know-how/idn-domains/idn-character-list/
16321632
* (.DK) Danmark http://www.dk-hostmaster.dk/index.php?id=151
16331633
* (.EE) Estonia https://www.iana.org/domains/idn-tables/tables/pl_et-pl_1.0.html
16341634
* (.ES) Spain https://www.nic.es/media/2008-05/1210147705287.pdf
@@ -1681,7 +1681,7 @@ class Hostname extends AbstractValidator
16811681
'CL' => [1 => '/^[\x{002d}0-9a-záéíñóúü]{1,63}$/iu'],
16821682
'CN' => 'Hostname/Cn.php',
16831683
'COM' => 'Hostname/Com.php',
1684-
'DE' => [1 => '/^[\x{002d}0-9a-zà-öø-ÿăąāćĉčċďđĕěėęēğĝġģĥħĭĩįīıĵķĺľļłńňņŋŏőōœĸŕřŗśŝšşťţŧŭůűũųūŵŷźžż]{1,63}$/iu'],
1684+
'DE' => [1 => '/^[\x{002d}0-9a-záàăâåäãąāæćĉčċçďđéèĕêěëėęēğĝġģĥħíìĭîïĩįīıĵķĺľļłńňñņŋóòŏôöőõøōœĸŕřŗśŝšşßťţŧúùŭûůüűũųūŵýŷÿźžżðþ]{1,63}$/iu'],
16851685
'DK' => [1 => '/^[\x{002d}0-9a-zäåæéöøü]{1,63}$/iu'],
16861686
'EE' => [1 => '/^[\x{002d}0-9a-zäõöüšž]{1,63}$/iu'],
16871687
'ES' => [1 => '/^[\x{002d}0-9a-zàáçèéíïñòóúü·]{1,63}$/iu'],

0 commit comments

Comments
 (0)