From: Frédéric Lécaille Date: Fri, 13 Jul 2018 08:44:12 +0000 (+0200) Subject: REGTEST/MINOR: Unexpected curl URL globling. X-Git-Tag: v1.9-dev1~174 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=faf4aac742622c0814057b1433baacb32dd758a4;p=haproxy.git 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. --- diff --git a/reg-tests/ssl/h00000.vtc b/reg-tests/ssl/h00000.vtc index 819f3850f..d1b48fb78 100644 --- a/reg-tests/ssl/h00000.vtc +++ b/reg-tests/ssl/h00000.vtc @@ -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 $!"