[wp-trac] [WordPress Trac] #21994: Subdomains may not exceed 63 characters in length

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 25 22:31:44 UTC 2012


#21994: Subdomains may not exceed 63 characters in length
-----------------------------+---------------------------
 Reporter:  humanshell       |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Network Admin
  Version:  trunk            |   Severity:  normal
 Keywords:  has-patch        |
-----------------------------+---------------------------
 According to section 3.1 "Name space specifications and terminology" of
 [http://www.faqs.org/rfcs/rfc1034.html RFC1034], domain names are nodes in
 a tree structure and "Each node has a label, which is zero to 63 octets in
 length."

 WP should help to correctly enforce this requirement, so I've attached a
 patch that adds a maxlength="63" attribute on the input field on line 126
 of wp-admin/network/site-new.php. This should help sites and network
 admins prevent the creation of blogs hosted on subdomain installs that
 will not resolve properly, and at the same time allow for maximum length
 subdomains.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21994>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list