]> git.kaiwu.me - haproxy.git/commit
[BUG] config: fix erroneous check on cookie domain names, again
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Tue, 15 Dec 2009 22:40:47 +0000 (23:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Dec 2009 20:14:21 +0000 (21:14 +0100)
commit1a8bea9390024e0d61741eeacf6d13b8661eb014
treea988d9ceee59e3343c4ed538833ee075e0e0332a
parent3ccf94efd99db5763546750729b5a81e3b7bce19
[BUG] config: fix erroneous check on cookie domain names, again

The previous check was correct: the RFC states that it is required
to have a domain-name which contained a dot AND began with a dot.
However, currently some (all?) browsers do not obey this specification,
so such configuration might work.

This patch reverts 3d8fbb6658d4414dac20892bbd9e79e14e99e67f but
changes the check from FATAL to WARNING and extends the message.
src/cfgparse.c