[buddypress-trac] [BuddyPress] #4560: Subdomains may not exceed 63 characters in length

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Sep 25 22:10:13 UTC 2012


#4560: Subdomains may not exceed 63 characters in length
-------------------------+-----------------------------
 Reporter:  humanshell   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:
 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."

 BP should help to correctly enforce this requirement, so I've attached a
 patch that increases the maxlength attribute on the input field on line
 466 of bp-blogs-template.php from "50" to "63" allowed characters. This
 should help sites and users 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: <https://buddypress.trac.wordpress.org/ticket/4560>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list