r90229 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90228‎ | r90229 | r90230 >
Date:21:01, 16 June 2011
Author:platonides
Status:ok
Tags:
Comment:
Remove trailing newline from pass, which is very unlikely to be intended.
Modified paths:
  • /trunk/phase3/maintenance/install.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/install.php
@@ -76,7 +76,7 @@
7777 if ( $dbpass === false ) {
7878 $this->error( "Couldn't open $dbpassfile", true );
7979 }
80 - $this->mOptions['dbpass'] = $dbpass;
 80+ $this->mOptions['dbpass'] = trim( $dbpass, "\r\n" );
8181 }
8282
8383 $installer =

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90228Allow to provide the db password inside a file instead of using...platonides20:58, 16 June 2011

Status & tagging log