[wp-trac] [WordPress Trac] #17397: Inconsistency in allowed site addresses

WordPress Trac noreply at wordpress.org
Tue Sep 16 05:20:29 UTC 2014


#17397: Inconsistency in allowed site addresses
--------------------------------+------------------------
 Reporter:  johnbillion         |       Owner:
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  4.1
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  multisite
--------------------------------+------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch => needs-patch
 * milestone:  Future Release => 4.1


Comment:

 On a revisit... While #17948 is a big effort, it seems more oriented
 around our Open Network concept. Adding sites through `site-new.php` is
 very much a Closed Network operation, IMO.

 I'm not sure that we need to change the default validation yet, as
 allowing multilevel subdomains and paths without being setup for it may
 not be desirable.

 I do think we can at least add a filter in 4.1 to help extend validation.
 It may even be worth starting to think about `validate_site_sub_domain()`
 and `validate_site_path()` functions that can be used here and in other
 areas like `site-info.php`.

 Related #19724, #15831, #20019, #13387, and #18777 (effectively the sub-
 directory sibling of this ticket)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17397#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list