Subdomains may not exceed 63 characters in length
|Reported by:||humanshell||Owned by:|
|Component:||Networks and Sites||Keywords:||has-patch|
According to section 3.1 "Name space specifications and terminology" of 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.
Change History (14)
comment:6 @jeremyfelt — 18 months ago
- Keywords needs-patch added; has-patch removed
- Milestone changed from Awaiting Review to Future Release
- Priority changed from normal to low