http: fix path formatting in request templates 31/43231/3
authorMatus Fabian <[email protected]>
Fri, 20 Jun 2025 13:30:28 +0000 (13:30 +0000)
committerFlorin Coras <[email protected]>
Fri, 20 Jun 2025 20:51:09 +0000 (20:51 +0000)
commit97b1380df3089d107d5524d023a873e67170a57c
treea279731f33463d1b345ba0354e1063b5e35fc13f
parent1c1c84e9b31a85d2fefcbaa9dc4db33d1d4fa829
http: fix path formatting in request templates

Client app pass path as data bytes and length, not null terminated
string. Fix also msg.data.target_path_len value in http client and http
cli client, set it to string length not vec_len.

Type: fix

Change-Id: Icab6d830812bbfc2e6df82564d6d087476769111
Signed-off-by: Matus Fabian <[email protected]>
src/plugins/hs_apps/http_client.c
src/plugins/hs_apps/http_client_cli.c
src/plugins/http/http1.c