Spaces in CNAME options break parsing.

cname = wibble,wobble

works, but

cname =	wibble, wobble

fails. Bug introduced in 2.77. commit a1d973f987
This commit is contained in:
Simon Kelley
2017-10-09 22:36:11 +01:00
parent 30df7efc96
commit 30858e3b9b
2 changed files with 6 additions and 1 deletions

View File

@@ -3862,7 +3862,7 @@ err:
new->target = target;
new->ttl = ttl;
arg += strlen(arg)+1;
for (arg += strlen(arg)+1; *arg == ' '; arg++);
}
break;