summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-02-02 15:34:33 +0100
committersapier <Sapier at GMX dot net>2014-02-02 15:34:33 +0100
commit284fc0b88569075187019a1b311312e64e79d937 (patch)
tree527d3e3d4bba85d2f407510f85c645b4f9b479c5
parente7c2e61b19d24da14617e5689cad1a2d1ba1daec (diff)
downloadminetest-284fc0b88569075187019a1b311312e64e79d937.tar.gz
minetest-284fc0b88569075187019a1b311312e64e79d937.tar.bz2
minetest-284fc0b88569075187019a1b311312e64e79d937.zip
Add missing "-" to list of allowed chars in media filenames
-rw-r--r--src/clientserver.h2
1 files changed, 1 insertions, 1 deletions
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
{