[wp-trac] [WordPress Trac] #21994: Subdomains may not exceed 63 characters in length
WordPress Trac
noreply at wordpress.org
Mon Mar 3 23:50:02 UTC 2014
#21994: Subdomains may not exceed 63 characters in length
--------------------------------+------------------------
Reporter: humanshell | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: 3.9
Component: Networks and Sites | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+------------------------
Changes (by jeremyfelt):
* keywords: needs-patch => has-patch
Comment:
[https://core.trac.wordpress.org/attachment/ticket/21994/21994.diff
21994.diff] adds a `strlen()` check to the new site process for both
subdomain and domain. A max of 63 characters for the label and a max of
255 characters for the full domain.
RFC1034 doesn't really clarify, but per
[http://tools.ietf.org/rfc/rfc2181.txt RFC 2181], 255 is the total limit
for a domain name rather than the sum of all labels without separators.
Another interesting note from [http://www.faqs.org/rfcs/rfc1034.html RFC
1034] that this doesn't attempt to address:
> Brother nodes may not have the same label, although the same label can
be used for nodes which are not brothers.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21994#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list