X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fupload%2FUploadStash.php;h=e55ab1fbb78e4865278986c131a9ad74603d586f;hp=e25b11ec23fcb41a90ab796c555b05e4ff5a1d01;hb=f80e50f318a350c4486d272b1bc1bb5c22715a7c;hpb=18fcb2bf29eca1ad0c15aafaa3b4bf4b1c8a3355 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; /**