WordPress.org

Make WordPress Core

Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#25302 closed defect (bug) (duplicate)

Incorrect handling of URLs with IPv6 address as the host part

Reported by: kralyk Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6.1
Component: General Keywords:
Focuses: Cc:

Description

When installing Wordpress (3.6.1) on a server accessed via an IPv6 address, Wordpress will not record the root URL properly. It will strip the '[]' brackets from the URL.

For example, this can be tested quickly on a localhost using http://[::1]/ - although Wordpress will install succesfully, all the links including CSS, scripts, etc. will not work because their URL will be http://::1/some/link instead of http://[::1]/some/link

Change History (2)

comment:1 @jeremyfelt19 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate: #16859 Issue is that esc_url() strips [ and ].

comment:2 @kralyk19 months ago

Oh, ok, sorry for dupe, I only searched for IPv6-related bugs.

Note: See TracTickets for help on using tickets.