r101905 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101904‎ | r101905 | r101906 >
Date:22:58, 3 November 2011
Author:platonides
Status:ok
Tags:
Comment:
Follow-up r101808. Use canonical class name.
Modified paths:
  • /trunk/phase3/includes/HttpFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HttpFunctions.php
@@ -857,7 +857,7 @@
858858 # Check security of URL
859859 $url = $this->getResponseHeader( "Location" );
860860
861 - if ( !HTTP::isValidURI( $url ) ) {
 861+ if ( !Http::isValidURI( $url ) ) {
862862 wfDebug( __METHOD__ . ": insecure redirection\n" );
863863 break;
864864 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101808use isValidURI for redirect checkmah14:04, 3 November 2011

Status & tagging log