[wp-trac] [WordPress Trac] #17397: Inconsistency in allowed site addresses
WordPress Trac
noreply at wordpress.org
Wed Sep 11 22:44:28 UTC 2013
#17397: Inconsistency in allowed site addresses
--------------------------+-----------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.7
Component: Multisite | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------
Changes (by jeremyfelt):
* severity: minor => normal
Comment:
Right now, updating a site through `site-info.php` does only
`strtolower()` on the domain before sending it to be updated.
Adding a site through `site-new.php` restricts it to `[a-zA-Z0-9-]`. We
could cheat a bit and make that `[a-zA-Z0-9-.]` for now, just to allow for
`.` to be entered on new sites, though we'd still be ignoring a bunch of
valid characters for domains.
I think @tlovett1's [attachment:176397.diff] is likely the right answer
here until something like #17948 is used to revamp the experience
entirely. It applies cleanly on trunk at the moment.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17397#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list