Index: trunk/phase3/CREDITS |
— | — | @@ -90,6 +90,7 @@ |
91 | 91 | * Carsten Nielsen |
92 | 92 | * Conrad Irwin |
93 | 93 | * Dan Barrett |
| 94 | +* Dan Collins |
94 | 95 | * Dan Nessett |
95 | 96 | * Daniel Arnold |
96 | 97 | * Denny Vrandecic |
Index: trunk/phase3/includes/upload/UploadBase.php |
— | — | @@ -672,7 +672,7 @@ |
673 | 673 | return $this->mTitle = null; |
674 | 674 | } elseif ( $blackListedExtensions || |
675 | 675 | ( $wgCheckFileExtensions && $wgStrictFileExtensions && |
676 | | - !$this->checkFileExtension( $this->mFinalExtension, $wgFileExtensions ) ) ) { |
| 676 | + !$this->checkFileExtensionList( $ext, $wgFileExtensions ) ) ) { |
677 | 677 | $this->mBlackListedExtensions = $blackListedExtensions; |
678 | 678 | $this->mTitleError = self::FILETYPE_BADTYPE; |
679 | 679 | return $this->mTitle = null; |