Hi Thierry,

On Mon, Mar 26, 2018 at 12:00:48PM +0200, Thierry Fournier wrote:
> Hi list,
> 
> The name of the "server" directive allows [A-Za-Z0-9_.:-] (see
> function invalid_char()).
> 
> The name allowed for the "server-template" directive only allows [A-Za-Z_.-],
> the chars [0-9:] disappear.
> 
> This limitation forces the modifications of all the server names which
> contains numbers and forces to review the monitoring system. This is not
> great.
> 
> It have a good reason to reject chars [0-9:]  ?
> If it is not a case, I join a patch which fix the syntax for [0-9], not for
> ':'

I don't remember any particular reason, though I remember we've had
lengthy discussions about this. I'll ask Fred tomorrow if he remembers.
I agree that it may be a problem (eg: "dc1_srv" not being accepted is
problematic).

Willy

Reply via email to