commit d8f0c44bda66f659be8c8af034b4888a69f8554dce6fcf5c7d7a45f0d0b839b5 from: Stefan Sperling date: Fri Jan 30 16:53:36 2026 UTC allow spaces and tabs in gotsys.conf repo description and site owner strings commit - 971ff1fa812abe04d664ff75ac8117c520bc4f2d29fce5a07c347d96331584c7 commit + d8f0c44bda66f659be8c8af034b4888a69f8554dce6fcf5c7d7a45f0d0b839b5 blob - 2a54d1394a91b92f21676289e34ddc3999bae99405222d6047d303cb76b045b5 blob + ea8e84670d9e4c80c9c355b0ffa17c99e7112d32538bfe9714a75b602a172242 --- lib/gotsys_conf.c +++ lib/gotsys_conf.c @@ -1340,8 +1340,11 @@ gotsys_conf_validate_string(const char *s) for (i = 0; s[i] != '\0'; ++i) { char x = s[i]; - /* keep in sync with gotwebd/parse.y allowed_in_string() */ - if (isalnum((unsigned char)x) || + /* + * Similar to gotwebd/parse.y allowed_in_string() while + * allowing for spaces and tabs in quoted strings. + */ + if (isalnum((unsigned char)x) || x == ' ' || x == '\t' || (ispunct((unsigned char)x) && x != '(' && x != ')' && x != '{' && x != '}' && x != '!' && x != '=' && x != '#' &&