WordPress/wp-includes
John Blackbourn eb352accc4 Avoid stripping square brackets from URLs, and instead correctly encode them.
Square brackets must be encoded in the path, path parameters, query parameters, and fragment, but must not be encoded in anything up to the domain and port.

Adds a bunch of tests, including square brackets in query parameters, IPv6 URLs, and several other permutations.

See #16859

Built from https://develop.svn.wordpress.org/trunk@34674


git-svn-id: http://core.svn.wordpress.org/trunk@34638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-29 00:41:24 +00:00
..
2015-09-26 07:04:28 +00:00
2015-09-26 07:04:28 +00:00
2015-09-26 07:04:28 +00:00
2015-09-22 13:44:25 +00:00
2015-09-22 13:03:24 +00:00