mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-29 17:42:54 +00:00
REGTEST/MINOR: Unexpected curl URL globling.
With certain curl versions URLs which contain brackets may be interpreted by the "URL globbing parser". This patch ensures that such brackets are escaped. Thank you to Ilya Shipitsin for having reported this issue.
This commit is contained in:
parent
8e2d9430c0
commit
faf4aac742
@ -34,7 +34,7 @@ haproxy h1 -conf {
|
||||
shell {
|
||||
HOST=${h1_frt_addr}
|
||||
if [ "${h1_frt_addr}" = "::1" ] ; then
|
||||
HOST="[::1]"
|
||||
HOST="\[::1\]"
|
||||
fi
|
||||
for i in 1 2 3 4 5; do
|
||||
curl -i -k https://$HOST:${h1_frt_port} & pids="$pids $!"
|
||||
|
Loading…
Reference in New Issue
Block a user