From c73a33f78006488ce4bb0c5d6b62750c610f8d53 Mon Sep 17 00:00:00 2001 From: avbenavides <62693723+avbenavides@users.noreply.github.com> Date: Mon, 15 Mar 2021 14:27:26 +0100 Subject: [PATCH] Update client.mustache Bash Client Escapes parameters with a 't' to %09 and leaves tabs unescaped Fixes https://github.com/OpenAPITools/openapi-generator/issues/7303 --- .../openapi-generator/src/main/resources/bash/client.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openapi-generator/src/main/resources/bash/client.mustache b/modules/openapi-generator/src/main/resources/bash/client.mustache index 4fd823149477..ff63a39c6004 100644 --- a/modules/openapi-generator/src/main/resources/bash/client.mustache +++ b/modules/openapi-generator/src/main/resources/bash/client.mustache @@ -245,7 +245,7 @@ url_escape() { -e 's/(/%28/g' \ -e 's/)/%29/g' \ -e 's/:/%3A/g' \ - -e 's/\t/%09/g' \ + -e 's/\\t/%09/g' \ -e 's/?/%3F/g' <<<"$raw_url"); echo "$value"