r113168 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113167‎ | r113168 | r113169 >
Date:18:56, 6 March 2012
Author:preilly
Status:ok
Tags:
Comment:
fix header to match varnish set header
Modified paths:
  • /trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
@@ -56,7 +56,7 @@
5757 self::$acceptBilling = $wgRequest->getVal( 'acceptbilling' );
5858 self::$title = $out->getTitle();
5959
60 - $carrier = $wgRequest->getHeader( 'HTTP_X_CARRIER' );
 60+ $carrier = $wgRequest->getHeader( 'X-CARRIER' );
6161 if ( $carrier !== '(null)' && $carrier ) {
6262 self::$renderZeroRatedBanner = true;
6363 }

Status & tagging log