Add missing "-" to list of allowed chars in media filenames
authorsapier <Sapier at GMX dot net>
Sun, 2 Feb 2014 14:34:33 +0000 (15:34 +0100)
committersapier <Sapier at GMX dot net>
Sun, 2 Feb 2014 14:34:33 +0000 (15:34 +0100)
src/clientserver.h

index 29d01e5ae6dad526599b1854886b88f8958c354b..d1e250ea84dc54c9c2e96af29cdb360efff83689 100644 (file)
@@ -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
 {