Przeglądaj źródła

[ZF-11945] Add hostname validation for new top level domain '.xxx'

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24631 44c647ce-9c0f-0410-b52a-842ac1e357ba
adamlundrigan 14 lat temu
rodzic
commit
fc0abbd9b1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      library/Zend/Validate/Hostname.php

+ 1 - 1
library/Zend/Validate/Hostname.php

@@ -133,7 +133,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
         'sm', 'sn', 'so', 'sr', 'st', 'su', 'sv', 'sy', 'sz', 'tc', 'td', 'tel', 'tf', 'tg', 'th',
         'tj', 'tk', 'tl', 'tm', 'tn', 'to', 'tp', 'tr', 'travel', 'tt', 'tv', 'tw', 'tz', 'ua',
         'ug', 'uk', 'um', 'us', 'uy', 'uz', 'va', 'vc', 've', 'vg', 'vi', 'vn', 'vu', 'wf', 'ws',
-        'ye', 'yt', 'yu', 'za', 'zm', 'zw'
+        'xxx', 'ye', 'yt', 'yu', 'za', 'zm', 'zw'
     );
 
     /**