From 66ddc248d1163eb6fa664f8091e7139da5897b57 Mon Sep 17 00:00:00 2001
From: Thierry Fournier <tfournier@premaccess.com>
Date: Mon, 26 Mar 2018 11:54:39 +0200
Subject: [PATCH] MINOR: servers: Support alphanumeric characters for the
 server templates names

'server-template' directive doesn't supports the same names alpahbet than
'server' directive. This patch allows the usage of chars [0-9].
---
 src/standard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/standard.c b/src/standard.c
index 4f89a921..38c4f3f2 100644
--- a/src/standard.c
+++ b/src/standard.c
@@ -629,7 +629,7 @@ const char *invalid_domainchar(const char *name) {
  * If everything is fine, NULL is returned.
  */
 const char *invalid_prefix_char(const char *name) {
-	return __invalid_char(name, isalpha);
+	return __invalid_char(name, isalnum);
 }
 
 /*
-- 
2.16.2

