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>
This commit is contained in:
committed by
Florin Coras
parent
1c170f571a
commit
0af11f537f
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user