X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fupload%2FUploadStash.php;h=e55ab1fbb78e4865278986c131a9ad74603d586f;hb=91e63a1332fb589f8f3cc47b4466f24943aa8bd4;hp=e25b11ec23fcb41a90ab796c555b05e4ff5a1d01;hpb=7f2177324363fdbef68f18cffb0a28d42f892d70;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/upload/UploadStash.php b/includes/upload/UploadStash.php index e25b11ec23..e55ab1fbb7 100644 --- a/includes/upload/UploadStash.php +++ b/includes/upload/UploadStash.php @@ -52,7 +52,7 @@ */ class UploadStash { // Format of the key for files -- has to be suitable as a filename itself (e.g. ab12cd34ef.jpg) - const KEY_FORMAT_REGEX = '/^[\w-\.]+\.\w*$/'; + const KEY_FORMAT_REGEX = '/^[\w\-\.]+\.\w*$/'; const MAX_US_PROPS_SIZE = 65535; /**