]> git.ipfire.org Git - thirdparty/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, 28 Jan 2010 22:15:19 +0000 (23:15 +0100)
commit39ece3d0f93f62537f9bd50327e9ebafd706dc49
tree47440d64f30a973c984a8020c02e6ec752c649b0
parent5203a0b055b305a9fdc70e07e51902fea5251cd8
[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.
(cherry picked from commit 1a8bea9390024e0d61741eeacf6d13b8661eb014)
src/cfgparse.c