(bug 30202) Restrict file names on upload to 240 bytes, because wfTimestamp( TS_MW...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 29 Sep 2011 19:00:45 +0000 (19:00 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 29 Sep 2011 19:00:45 +0000 (19:00 +0000)
commitc48b61c01b48b0af079a46b1a6767b387adc02fe
tree20c180158df396084bd2b52cbd2071aaa8c705f9
parentae6ee23e335888b07cf3b198f361b8bd1c70a37f
(bug 30202) Restrict file names on upload to 240 bytes, because wfTimestamp( TS_MW ) . '!' . $fileName should fit in oi_archive_name, which is 255 bytes, and also the maximum file name length on many file systems is 255 bytes.

Commit to fix UploadTest to use @dataProvider will follow
RELEASE-NOTES-1.19
includes/upload/UploadBase.php
tests/phpunit/includes/upload/UploadTest.php