Index: branches/REL1_17/phase3/includes/upload/UploadStash.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | class UploadStash { |
16 | 16 | |
17 | 17 | // Format of the key for files -- has to be suitable as a filename itself (e.g. ab12cd34ef.jpg) |
18 | | - const KEY_FORMAT_REGEX = '/^[\w-]+\.\w+$/'; |
| 18 | + const KEY_FORMAT_REGEX = '/^[\w-]+\.\w*$/'; |
19 | 19 | |
20 | 20 | // repository that this uses to store temp files |
21 | 21 | // public because we sometimes need to get a LocalFile within the same repo. |