Incorrect handling of URLs with IPv6 address as the host part
|Reported by:||kralyk||Owned by:|
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