Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#25302 closed defect (bug) (duplicate)

Incorrect handling of URLs with IPv6 address as the host part

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

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)

#1 @jeremyfelt
13 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

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

#2 @kralyk
13 years ago

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

Note: See TracTickets for help on using tickets.