mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-12 22:44:32 +00:00
haproxy public development tree
28cb36613b
If a regex to match the PATH_INFO parameter is configured, it systematically fails if a newline or a null character is present in the URL-decoded path. So, from the moment there is at least a "%0a" or a "%00" in the request path, we always fail to get the PATH_INFO parameter and all the decoded path is used for the SCRIPT_NAME parameter. It is probably not the expected behavior. Because, most of time, these characters are not expected at all in a path, an error is now triggered when one of these characters is found in the URL-decoded path before trying to execute the path_info regex. However, this test is not performed if there is no regex configured. Note that in reality, the newline character is only a problem when HAProxy is complied with pcre or pcre2 library and conversely, the null character is only a problem for the libc's regex library. But both are always excluded to avoid any inconsistency depending on compile options. An alternative, not implemented yet, is to replace these characters by another one. If someone complains about this behavior, it will be re-evaluated. This patch must be backported to all versions supporting the FastCGI applications, so to 2.1 for now. |
||
---|---|---|
.github | ||
contrib | ||
doc | ||
ebtree | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitignore | ||
.travis.yml | ||
BRANCHES | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
ROADMAP | ||
SUBVERS | ||
VERDATE | ||
VERSION |
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)