Author: msn
Description:
Since updating to 1.17rc1 today, file uploads of types for which there is not a particular mime-type (in my case, ".dem" files, which are demo files from Valve's Source Engine games). Image uploads work fine.
Additionally, attempting to move already-uploaded .dem files, without changing the .dem extension, cause the error "The new file extension does not match its type" to appear (and the file doesn't move).
Output:
key 'fw9re1ay7wwdqf7p4c4eiyupmxwdezn.' is not in a proper format
Backtrace:
#0 /home/pwiki/www/w/includes/upload/UploadBase.php(634): UploadStash->stashFile('/tmp/phpNsK1a1', Array, NULL)
#1 /home/pwiki/www/w/includes/upload/UploadBase.php(646): UploadBase->stashSessionFile(NULL)
#2 /home/pwiki/www/w/includes/specials/SpecialUpload.php(367): UploadBase->stashSession()
#3 /home/pwiki/www/w/includes/specials/SpecialUpload.php(461): SpecialUpload->showUploadWarning(Array)
#4 /home/pwiki/www/w/includes/specials/SpecialUpload.php(192): SpecialUpload->processUpload()
#5 /home/pwiki/www/w/includes/SpecialPage.php(578): SpecialUpload->execute(NULL)
#6 /home/pwiki/www/w/includes/Wiki.php(251): SpecialPage::executePath(Object(Title))
#7 /home/pwiki/www/w/includes/Wiki.php(63): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#8 /home/pwiki/www/w/index.php(114): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#9 {main}
Attached is the file that I am attempting to upload.
Version: 1.20.x
Severity: normal