Awight has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/329381 )
Change subject: DEPLOYMENT ONLY: fix broken hack :( ...................................................................... DEPLOYMENT ONLY: fix broken hack :( Change-Id: I309f089c70e458ee222c66a9a0d6171fa98d9685 --- M Core/Http/RequestHandler.php 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/SmashPig refs/changes/81/329381/1 diff --git a/Core/Http/RequestHandler.php b/Core/Http/RequestHandler.php index f96efe2..7112439 100644 --- a/Core/Http/RequestHandler.php +++ b/Core/Http/RequestHandler.php @@ -23,15 +23,15 @@ // Can go away once we require PHP 5.6 ini_set( 'default_charset', 'UTF-8' ); -// FIXME: Remove once https://phabricator.wikimedia.org/T154209 is resolved. -$response->setStatusCode( 403, "Cannot continue." ); -return $response; - // --- Get the request and response objects $request = Request::createFromGlobals(); $response = new Response(); $response->setPrivate(); +// FIXME: Remove once https://phabricator.wikimedia.org/T154209 is resolved. +$response->setStatusCode( 403, "Cannot continue." ); +return $response; + // --- Break the request into parts --- $uri = $request->query->get( 'p', '' ); $parts = explode( '/', $uri ); -- To view, visit https://gerrit.wikimedia.org/r/329381 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I309f089c70e458ee222c66a9a0d6171fa98d9685 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/SmashPig Gerrit-Branch: deployment Gerrit-Owner: Awight <awi...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits