aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2024-10-30 18:04:40 +0100
committerFlorin Coras <florin.coras@gmail.com>2024-10-30 23:20:54 +0000
commit0af11f537f52bbb7af274c8cfd2a1c5c8fcfb0b7 (patch)
treecb3b752163c39cc64d7a6c81e42f2261fa85a286 /src/plugins/hs_apps
parent1c170f571a8c7e16f1bd043348cd770b5a5ec7a1 (diff)
http: udp proxy uri template parsing
Parse a URI template that has variables "target_host" and "target_port", where varaibles are at the end of the path: "/{target_host}/{target_port}/". Type: improvement Change-Id: I440b7f4951bffa1fd9971740b9890b221193943b Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/hs_apps')
-rw-r--r--src/plugins/hs_apps/http_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/http_cli.c b/src/plugins/hs_apps/http_cli.c
index 1000a2ddd18..dfa90f9eced 100644
--- a/src/plugins/hs_apps/http_cli.c
+++ b/src/plugins/hs_apps/http_cli.c
@@ -406,7 +406,7 @@ hcs_ts_rx_callback (session_t *ts)
}
if (is_encoded)
{
- u8 *decoded = http_percent_decode (args.buf);
+ u8 *decoded = http_percent_decode (args.buf, vec_len (args.buf));
vec_free (args.buf);
args.buf = decoded;
}