SECURITY: Work around PHP bug in parse_url
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 17 Dec 2018 18:20:12 +0000 (13:20 -0500)
committerReedy <reedy@wikimedia.org>
Thu, 19 Dec 2019 13:24:03 +0000 (13:24 +0000)
commit3599f29cc3a1ca43c3ae1522e27d77a6e9222d29
tree73e5b5afae7761871a4f13711dbd38dba4ddd2c7
parent639a3ac6f268c5a016ad32b7e9b80bb1e652583a
SECURITY: Work around PHP bug in parse_url

It gets confused by URLs with a query portion but no path.

Bug: T212067
Change-Id: I15c15161a668115d68eb2e2f8004826b47148fc1
RELEASE-NOTES-1.31
includes/GlobalFunctions.php
tests/phpunit/includes/GlobalFunctions/wfParseUrlTest.php