WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#13426 closed enhancement (wontfix)

On create site, wordpress throws error if siteurl has trailing slash (/)

Reported by: Arlen22 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Multisite Keywords:
Focuses: Cc:

Description

In siteurl/wp-admin/ms-sites.php, when making a new site, if you enter the site address with a trailing slash, it throws an error, but if you don't, it is fine. Now don't ask me why, but I figured it would do that, maybe because it is a beta version. I don't know, but I just about couldn't believe it when I saw that.

Change History (3)

comment:1 follow-up: @ocean905 years ago

We could trim the slash, but read the discription. ;)

Only the characters a-z and 0-9 recommended.

comment:2 in reply to: ↑ 1 @Arlen225 years ago

Replying to ocean90:

We could trim the slash, but read the discription. ;)

Only the characters a-z and 0-9 recommended.

Of course, but that is not a requirement, and it won't strip dashes (-), which I like, by the way. But this throws an error, and doesn't even say why, when it would be so simple to remove it.

comment:3 @nacin5 years ago

  • Keywords multisite add-site site address removed
  • Milestone Unassigned deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Closing this as wontfix on the basis that these screens are going to get a massive overhaul in a future release and verification will likely be covered in some form.

MS, and specifically the admin screens, are not for the faint of heart. It's fairly obvious where the problem lies if you have a double-slash.

Note: See TracTickets for help on using tickets.