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-Tag: 0.4.10~290 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=284fc0b88569075187019a1b311312e64e79d937;p=oweals%2Fminetest.git Add missing "-" to list of allowed chars in media filenames --- diff --git a/src/clientserver.h b/src/clientserver.h index 29d01e5ae..d1e250ea8 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 {