]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] restrict the set of allowed characters for identifiers
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2007 17:45:09 +0000 (18:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2007 17:45:09 +0000 (18:45 +0100)
commit2e74c3f2023cff6cd5ca6f1a265422f2306ae306
tree16fd37e7349709dfe1e889ce763e1344345856f8
parentc7246fcdf390ee0903b0d468f8906d6a9b794caa
[MEDIUM] restrict the set of allowed characters for identifiers

In order to avoid issues in the future, we want to restrict
the set of allowed characters for identifiers. Starting from
now, only A-Z, a-z, 0-9, '-', '_', '.' and ':' will be allowed
for a proxy, a server or an ACL name.

A test file has been added to check the restriction.
include/common/standard.h
src/acl.c
src/cfgparse.c
src/standard.c
tests/test-valid-names.cfg [new file with mode: 0644]