From: sapier Date: Sun, 2 Feb 2014 14:34:33 +0000 (+0100) Subject: Add missing "-" to list of allowed chars in media filenames X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=284fc0b88569075187019a1b311312e64e79d937;p=zefram%2Fminetest%2Fminetest_engine.git Add missing "-" to list of allowed chars in media filenames --- diff --git a/src/clientserver.h b/src/clientserver.h index 29d01e5a..d1e250ea 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -118,7 +118,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define PASSWORD_SIZE 28 // Maximum password length. Allows for // base64-encoded SHA-1 (27+\0). -#define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_." +#define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-" enum ToClientCommand {