From eac4b53751ea5d4a632d5885645d1dfedbe01400 Mon Sep 17 00:00:00 2001 From: rmartinc Date: Mon, 22 Apr 2024 13:21:07 +0200 Subject: [PATCH] Incorrect proxyMappings example in the guides Closes #25514 Signed-off-by: rmartinc --- docs/guides/server/outgoinghttp.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/guides/server/outgoinghttp.adoc b/docs/guides/server/outgoinghttp.adoc index 9b662a0ac99..716fd8790ae 100644 --- a/docs/guides/server/outgoinghttp.adoc +++ b/docs/guides/server/outgoinghttp.adoc @@ -85,7 +85,9 @@ For example, consider the following regex: You apply a regex-based hostname pattern by entering this command: -<@kc.start parameters="--spi-connections-http-client-default-proxy-mappings=\"\'*\\\\\\.(google|googleapis)\\\\\\.com;http://www-proxy.acme.com:8080\'\""/> +<@kc.start parameters="--spi-connections-http-client-default-proxy-mappings=\'.*\\\\.(google|googleapis)\\\\.com;http://www-proxy.acme.com:8080\'"/> + +The backslash character `\` is escaped again because micro-profile config is used to parse the array of mappings. To determine the proxy for the outgoing HTTP request, the following occurs: