[wp-trac] [WordPress Trac] #44808: Creating subsite with un-trimmed space results in "Missing or invalid site address."

WordPress Trac noreply at wordpress.org
Thu Aug 16 22:04:52 UTC 2018


#44808: Creating subsite with un-trimmed space results in "Missing or invalid site
address."
--------------------------------+-----------------------------
 Reporter:  aubreypwd           |      Owner:  (none)
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  4.9.8
 Severity:  minor               |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 When adding a site:

 http://aubrey.pw/d/2018/t96dsz13Kd.png

 If the Site Address contains a space at the end (which is easily
 noticeable) it can result in "Missing or invalid site address.":

 http://aubrey.pw/d/2018/b9zBWfACwV.png

 We can improve this by sanitizing/trimming whitespace from the input.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44808>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list