mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
As mentionned by Thayne McCombs in #2728, it could be handy to have a sample fetch function to retrieve the query string with the question mark character. Indeed, for now, "query" sample fetch function already extract the query string from the path, but the question mark character is not included. Instead of adding a new sample fetch function with a too similar name, an optional argument is added to "query". If "with_qm" is passed as argument, the question mark will be included in the query string, but only if it is not empty. Thanks to this patch, the following rule: http-request redirect location /destination?%[query] if { -m found query } some_condition http-request redirect location /destination if some_condition can now be expressed this way: http-request redirect location /destination%[query(with_qm)] if some_condition |
||
---|---|---|
.. | ||
design-thoughts | ||
internals | ||
lua-api | ||
51Degrees-device-detection.txt | ||
acl.fig | ||
coding-style.txt | ||
configuration.txt | ||
cookie-options.txt | ||
DeviceAtlas-device-detection.txt | ||
gpl.txt | ||
haproxy.1 | ||
HAProxyCommunityEdition_60px.png | ||
intro.txt | ||
lgpl.txt | ||
linux-syn-cookies.txt | ||
lua.txt | ||
management.txt | ||
netscaler-client-ip-insertion-protocol.txt | ||
network-namespaces.txt | ||
peers-v2.0.txt | ||
peers.txt | ||
proxy-protocol.txt | ||
queuing.fig | ||
regression-testing.txt | ||
seamless_reload.txt | ||
SOCKS4.protocol.txt | ||
SPOE.txt | ||
WURFL-device-detection.txt |