From 284fc0b88569075187019a1b311312e64e79d937 Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 2 Feb 2014 15:34:33 +0100 Subject: [PATCH] Add missing "-" to list of allowed chars in media filenames --- src/clientserver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.25.1