%s expansion for root zone incorrect in version 2.3.1
The documentation of the "file" option in knot.conf in version 2.3.1 says:
%s – means the current zone name in the textual representation (beware of special characters which are escaped or encoded in the \DDD
form where DDD is corresponding decimal ASCII code). The zone name doesn't include the terminating dot (the result for the root zone is
the empty string!).
The default for the "file" option is "%s.zone". This means that if the root zone is configured in knot.conf, then the file name for it should expand to ".zone". However, I'm observing that knot is creating a file called "..zone" (and "..db" for the journal).
This means, that the expansion of %s for the root zone is NOT yielding an empty string, but a dot. I remember discussing this with @jvcelak and we agreed that the expansion of %s to an empty string was okay, but the change appears never to have made it into the code.