(bug 29408) Key 'something.' is not in a proper format
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 18 Jun 2011 14:56:14 +0000 (14:56 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 18 Jun 2011 14:56:14 +0000 (14:56 +0000)
commit9bbe0bc56625bad3740f485fb8275fea56fcf5af
tree9632879e424bb5630efa07fb8179a6b7b592faa4
parentc933deae2afef75ac88a2705b14247817b3a00aa
(bug 29408) Key 'something.' is not in a proper format
Fixed this by relaxing the stash key regex. For some files MediaWiki is simply not able to guess an extension. If the wiki has been configured to allow them, we should just let them pass in the stash as well.
includes/upload/UploadStash.php
tests/phpunit/includes/upload/UploadStashTest.php [new file with mode: 0644]