mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 15:04:42 +00:00
efe3b6f524
This patch allows to specify a domain used when inserting a cookie providing a session stickiness. Usefull for example with wildcard domains. The patch adds one new variable to the struct proxy: cookiedomain. When set the domain is appended to a Set-Cookie header. Domain name is validated using the new invalid_domainchar() function. It is basically invalid_char() limited to [A-Za-z0-9_.-]. Yes, the test is too trivial and does not cover all wrong situations, but the main purpose is to detect most common mistakes, not intentional abuses. The underscore ("_") character is not RFC-valid but as it is often (mis)used so I decided to allow it. |
||
---|---|---|
.. | ||
appsession.h | ||
base64.h | ||
cfgparse.h | ||
compat.h | ||
config.h | ||
debug.h | ||
defaults.h | ||
eb32tree.h | ||
eb64tree.h | ||
ebpttree.h | ||
ebtree.h | ||
epoll.h | ||
errors.h | ||
memory.h | ||
mini-clist.h | ||
rbtree.h | ||
regex.h | ||
sessionhash.h | ||
standard.h | ||
template.h | ||
time.h | ||
tools.h | ||
uri_auth.h | ||
version.h |